Protocols

The following protocols are available globally.

  • A filesystem item, like a file or a directory.

    See more

    Declaration

    Swift

    public protocol FileSystemItem
  • The location of an item which may or may not exist in the local file system. It is either a DirectoryPath or a FilePath.

    See more

    Declaration

    Swift

    public protocol Path: CustomStringConvertible
  • A stream of text. Does as much as possible lazily.

    See more

    Declaration

    Swift

    public protocol ReadableStream: class, TextOutputStreamable
  • An output stream, like standard output or a writeable file.

    See more

    Declaration

    Swift

    public protocol WritableStream: class, TextOutputStream