append(components:directoryHint:)
Appends multiple path components to the URL, with a hint for handling directory awareness.
Declaration
mutating func append<S>(components: S..., directoryHint: URL.DirectoryHint = .inferFromPath) where S : StringProtocolParameters
- components:
The path components to add, as a variadic parameter.
- directoryHint:
A hint to the initializer to indicate whether the path is a directory, or to instruct the method to make this determination. Defaults to Inferfrompath.
See Also
Adding path components
append(path:directoryHint:)append(component:directoryHint:)appendPathComponent(_:)appendPathComponent(_:isDirectory:)appending(path:directoryHint:)appending(component:directoryHint:)appendingPathComponent(_:)appendingPathComponent(_:isDirectory:)appending(components:directoryHint:)appendPathComponent(_:conformingTo:)appendingPathComponent(_:conformingTo:)