DynamicPath

@dynamicMemberLookup
public struct DynamicPath : Pathish
extension DynamicPath: CustomStringConvertible
extension DynamicPath: CustomDebugStringConvertible

A path that supports arbituary dot notation, eg. Path.root.usr.bin

  • The normalized string representation of the underlying filesystem path

    Declaration

    Swift

    public let string: String
  • Converts a Path to a DynamicPath

    Declaration

    Swift

    public init<P>(_ path: P) where P : Pathish
  • Returns Path.string

    Declaration

    Swift

    public var description: String { get }
  • Returns eg. Path(string: "/foo")

    Declaration

    Swift

    public var debugDescription: String { get }