Directory

struct Directory : Codable, Equatable, Hashable

The Directory

  • The Path

    Declaration

    Swift

    var path: Path
  • The Path

    See more

    Declaration

    Swift

    struct Path : Codable, Equatable, Hashable
  • Initialize with path string

    Declaration

    Swift

    init(path: String)

    Parameters

    path

    The path string

  • Retrieve default Kit.Directory

    Declaration

    Swift

    static func `default`(fileManager: FileManager = .default) -> Kit.Directory

    Parameters

    fileManager

    The FileManager. Default value .default

    Return Value

    The Kit Directory