LocalFile

public protocol LocalFile : LabeledVirtualFile

Virtual file for the macOS local file system.

  • True if the file is a package.

    Declaration

    Swift

    var isPackage: Bool { get }
  • True if the file is an application bundle.

    Declaration

    Swift

    var isApplication: Bool { get }
  • True if the file is an alias.

    Declaration

    Swift

    var isAlias: Bool { get }
  • url Extension method

    The file URL.

    Declaration

    Swift

    public var url: URL { get }
  • stat Extension method

    Declaration

    Swift

    public var stat: VirtualFileStat { get }