PathHandler

struct PathHandler

Creates the directory structure for Pallidor generated files

  • File manager instance

    Declaration

    Swift

    let fileManager: FileManager
  • Target location of the generated code

    Declaration

    Swift

    var targetDirectory: Path
  • Name of the library

    Declaration

    Swift

    var packageName: String
  • Creates the directory structure for the Swift Package to be generated

    Throws

    error if creating any directory fails

    Declaration

    Swift

    func createDirectoryStructure() throws