Instance Property

hasDirectoryPath

A Boolean that is true if the URL path represents a directory.

Declaration

var hasDirectoryPath: Bool { get }

See Also

Working with File URLs

var isFileURL: Bool

A Boolean that is true if the scheme is file:.

func withUnsafeFileSystemRepresentation<ResultType>((UnsafePointer<Int8>?) -> ResultType) -> ResultType

Passes the URL’s path in the file system representation to a closure.

func resolveSymlinksInPath()

Resolves any symlinks in the path of a file URL.

func resolvingSymlinksInPath() -> URL

Resolves any symlinks in the path of a file URL.

func standardize()

Standardizes the path of a file URL.