PathRoot

public enum PathRoot : CustomStringConvertible, JSONRepresentable

The PathRoot union

  • Paths are relative to the authenticating user’s home namespace, whether or not that user belongs to a team.

    Declaration

    Swift

    case home
  • Paths are relative to the authenticating user’s root namespace (This results in invalidRoot in PathRootError if the user’s root namespace has changed.).

    Declaration

    Swift

    case root(String)
  • Paths are relative to given namespace id (This results in noPermission in PathRootError if you don’t have access to this namespace.).

    Declaration

    Swift

    case namespaceId(String)
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }