SwiftstructlibswiftSystem
struct System.FilePath
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.ExpressibleByStringLiteral
- protocolSwift.Hashable
- protocolSystem._PlatformStringable
Members 50
- field
var _storage: System.SystemString+0x0 - func
append(__owned System.FilePath.Component) -> () - func
append(__owned String) -> () - func
append<A where A: Collection, A.Element == System.FilePath.Component>(__owned A) -> () - func
appending(__owned System.FilePath.Component) -> System.FilePath - func
appending(__owned String) -> System.FilePath - func
appending<A where A: Collection, A.Element == System.FilePath.Component>(__owned A) -> System.FilePath - func
ends(with: System.FilePath) -> Bool - func
lexicallyNormalize() -> () - func
lexicallyNormalized() -> System.FilePath - func
lexicallyResolving(__owned System.FilePath) -> System.FilePath? - func
push(__owned System.FilePath) -> () - func
pushing(__owned System.FilePath) -> System.FilePath - func
removeAll(keepingCapacity: Bool) -> () - func
removeLastComponent() -> Bool - func
removePrefix(System.FilePath) -> Bool - func
removingLastComponent() -> System.FilePath - func
removingRoot() -> System.FilePath - func
reserveCapacity(Int) -> () - func
starts(with: System.FilePath) -> Bool - func
withCString<A>((UnsafePointer<Int8>) throws -> A) throws -> A - init
init(stringLiteral: String) -> System.FilePath - init
init(platformString: UnsafePointer<Int8>) -> System.FilePath - init
init(root: System.FilePath.Root?, components: System.FilePath.Component...) -> System.FilePath - init
init(root: System.FilePath.Root?, _: Slice<System.FilePath.ComponentView>) -> System.FilePath - init
init<A where A: Collection, A.Element == System.FilePath.Component>(root: System.FilePath.Root?, _: A) -> System.FilePath - init
init(cString: UnsafePointer<Int8>) -> System.FilePath - init
init(cString: String) -> System.FilePath - init
init(cString: [Int8]) -> System.FilePath - init
init(cString: inout Int8) -> System.FilePath - init
init() -> System.FilePath - init
init(String) -> System.FilePath - typealias
typealias ExtendedGraphemeClusterLiteralType = Swift.String - typealias
typealias StringLiteralType = Swift.String - typealias
typealias UnicodeScalarLiteralType = Swift.String - var
var basename: System.FilePath.Component? { get } - var
var components: System.FilePath.ComponentView { get set } - var
var debugDescription: String { get } - var
var description: String { get } - var
var dirname: System.FilePath { get } - var
var extension: String? { get set } - var
var isAbsolute: Bool { get } - var
var isEmpty: Bool { get } - var
var isLexicallyNormal: Bool { get } - var
var isRelative: Bool { get } - var
var lastComponent: System.FilePath.Component? { get } - var
var length: Int { get } - var
var root: System.FilePath.Root? { get set } - var
var stem: String? { get } - var
var string: String { get }
Header
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) }