SwiftstructlibswiftSystem

struct System.FilePath

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 50

  1. fieldvar _storage: System.SystemString+0x0
  2. funcappend(__owned System.FilePath.Component) -> ()
  3. funcappend(__owned String) -> ()
  4. funcappend<A where A: Collection, A.Element == System.FilePath.Component>(__owned A) -> ()
  5. funcappending(__owned System.FilePath.Component) -> System.FilePath
  6. funcappending(__owned String) -> System.FilePath
  7. funcappending<A where A: Collection, A.Element == System.FilePath.Component>(__owned A) -> System.FilePath
  8. funcends(with: System.FilePath) -> Bool
  9. funclexicallyNormalize() -> ()
  10. funclexicallyNormalized() -> System.FilePath
  11. funclexicallyResolving(__owned System.FilePath) -> System.FilePath?
  12. funcpush(__owned System.FilePath) -> ()
  13. funcpushing(__owned System.FilePath) -> System.FilePath
  14. funcremoveAll(keepingCapacity: Bool) -> ()
  15. funcremoveLastComponent() -> Bool
  16. funcremovePrefix(System.FilePath) -> Bool
  17. funcremovingLastComponent() -> System.FilePath
  18. funcremovingRoot() -> System.FilePath
  19. funcreserveCapacity(Int) -> ()
  20. funcstarts(with: System.FilePath) -> Bool
  21. funcwithCString<A>((UnsafePointer<Int8>) throws -> A) throws -> A
  22. initinit(stringLiteral: String) -> System.FilePath
  23. initinit(platformString: UnsafePointer<Int8>) -> System.FilePath
  24. initinit(root: System.FilePath.Root?, components: System.FilePath.Component...) -> System.FilePath
  25. initinit(root: System.FilePath.Root?, _: Slice<System.FilePath.ComponentView>) -> System.FilePath
  26. initinit<A where A: Collection, A.Element == System.FilePath.Component>(root: System.FilePath.Root?, _: A) -> System.FilePath
  27. initinit(cString: UnsafePointer<Int8>) -> System.FilePath
  28. initinit(cString: String) -> System.FilePath
  29. initinit(cString: [Int8]) -> System.FilePath
  30. initinit(cString: inout Int8) -> System.FilePath
  31. initinit() -> System.FilePath
  32. initinit(String) -> System.FilePath
  33. typealiastypealias ExtendedGraphemeClusterLiteralType = Swift.String
  34. typealiastypealias StringLiteralType = Swift.String
  35. typealiastypealias UnicodeScalarLiteralType = Swift.String
  36. varvar basename: System.FilePath.Component? { get }
  37. varvar components: System.FilePath.ComponentView { get set }
  38. varvar debugDescription: String { get }
  39. varvar description: String { get }
  40. varvar dirname: System.FilePath { get }
  41. varvar extension: String? { get set }
  42. varvar isAbsolute: Bool { get }
  43. varvar isEmpty: Bool { get }
  44. varvar isLexicallyNormal: Bool { get }
  45. varvar isRelative: Bool { get }
  46. varvar lastComponent: System.FilePath.Component? { get }
  47. varvar length: Int { get }
  48. varvar root: System.FilePath.Root? { get set }
  49. varvar stem: String? { get }
  50. varvar string: String { get }
struct FilePath {
    struct Root {
        enum CodingKeys {
            case _path
            case _rootEnd
        }
        var _path: System.FilePath
        var _rootEnd: Swift.Int

        init(stringLiteral: Swift.String)
        init?(platformString: Swift.UnsafePointer<Swift.Int8>)
        init?(_: Swift.String)

        var debugDescription: Swift.String {
            get
        }
        var description: Swift.String {
            get
        }
        var string: Swift.String {
            get
        }

        func withPlatformString<A>(_: (_: Swift.UnsafePointer<Swift.Int8>) throws -> A) throws -> A
    }
    struct Component {
        enum Kind {
            case currentDirectory
            case parentDirectory
            case regular
        }
        enum CodingKeys {
            case _path
            case _range
        }
        var _path: System.FilePath
        var _range: Swift.Range<Swift.Int>

        init(stringLiteral: Swift.String)
        init?(platformString: Swift.UnsafePointer<Swift.Int8>)
        init?(_: Swift.String)

        var debugDescription: Swift.String {
            get
        }
        var description: Swift.String {
            get
        }
        var extension: Swift.String? {
            get
        }
        var kind: System.FilePath.Component.Kind {
            get
        }
        var stem: Swift.String {
            get
        }
        var string: Swift.String {
            get
        }

        func withPlatformString<A>(_: (_: Swift.UnsafePointer<Swift.Int8>) throws -> A) throws -> A
    }
    struct ComponentView {
        struct Index {
            var _storage: Swift.Int

            static func < (_: System.FilePath.ComponentView.Index, _: System.FilePath.ComponentView.Index) -> Swift.Bool
        }
        enum CodingKeys {
            case _path
            case _start
        }
        var _path: System.FilePath
        var _start: Swift.Int

        init()

        var endIndex: System.FilePath.ComponentView.Index {
            get
        }
        var startIndex: System.FilePath.ComponentView.Index {
            get
        }

        func replaceSubrange<A>(_: Swift.Range<System.FilePath.ComponentView.Index>, with: A) where A: Swift.Collection, A.Element == System.FilePath.Component
        func index(after: System.FilePath.ComponentView.Index) -> System.FilePath.ComponentView.Index
        func index(before: System.FilePath.ComponentView.Index) -> System.FilePath.ComponentView.Index

        subscript(_: System.FilePath.ComponentView.Index) -> System.FilePath.Component {
            get
        }
    }
    enum CodingKeys {
        case _storage
    }
    var _storage: System.SystemString

    init(stringLiteral: Swift.String)
    init(platformString: Swift.UnsafePointer<Swift.Int8>)
    init(root: System.FilePath.Root?, components: System.FilePath.Component...)
    init(root: System.FilePath.Root?, _: Swift.Slice<System.FilePath.ComponentView>)
    init<A>(root: System.FilePath.Root?, _: A) where A: Swift.Collection, A.Element == System.FilePath.Component
    init(cString: Swift.UnsafePointer<Swift.Int8>)
    init(cString: Swift.String)
    init(cString: [Swift.Int8])
    init(cString: inout Swift.Int8)
    init()
    init(_: Swift.String)

    var basename: System.FilePath.Component? {
        get
    }
    var components: System.FilePath.ComponentView {
        get
        set
    }
    var debugDescription: Swift.String {
        get
    }
    var description: Swift.String {
        get
    }
    var dirname: System.FilePath {
        get
    }
    var extension: Swift.String? {
        get
        set
    }
    var isAbsolute: Swift.Bool {
        get
    }
    var isEmpty: Swift.Bool {
        get
    }
    var isLexicallyNormal: Swift.Bool {
        get
    }
    var isRelative: Swift.Bool {
        get
    }
    var lastComponent: System.FilePath.Component? {
        get
    }
    var length: Swift.Int {
        get
    }
    var root: System.FilePath.Root? {
        get
        set
    }
    var stem: Swift.String? {
        get
    }
    var string: Swift.String {
        get
    }

    func withCString<A>(_: (_: Swift.UnsafePointer<Swift.Int8>) throws -> A) throws -> A
    func removePrefix(_: System.FilePath) -> Swift.Bool
    func removingRoot() -> System.FilePath
    func reserveCapacity(_: Swift.Int)
    func lexicallyNormalize()
    func lexicallyResolving(_: consuming System.FilePath) -> System.FilePath?
    func lexicallyNormalized() -> System.FilePath
    func removeLastComponent() -> Swift.Bool
    func removingLastComponent() -> System.FilePath
    func ends(with: System.FilePath) -> Swift.Bool
    func push(_: consuming System.FilePath)
    func append(_: consuming System.FilePath.Component)
    func append(_: consuming Swift.String)
    func append<A>(_: consuming A) where A: Swift.Collection, A.Element == System.FilePath.Component
    func starts(with: System.FilePath) -> Swift.Bool
    func pushing(_: consuming System.FilePath) -> System.FilePath
    func appending(_: consuming System.FilePath.Component) -> System.FilePath
    func appending(_: consuming Swift.String) -> System.FilePath
    func appending<A>(_: consuming A) -> System.FilePath where A: Swift.Collection, A.Element == System.FilePath.Component
    func removeAll(keepingCapacity: Swift.Bool)
}