Instance Property


A new string made from the receiver by resolving all symbolic links and standardizing path.


var resolvingSymlinksInPath: String { get }


A new string made by resolving all symbolic links, then removing extraneous path components. For absolute paths, all symbolic links are guaranteed to be removed. For relative paths, symbolic links that can’t be resolved are left unresolved in the returned string.

Returns self if an error occurs.

Note that this method only works with file paths (not, for example, string representations of URLs).

See Also

Related Symbols

var standardizingPath: String

A new string made by removing extraneous path components from the receiver.

var expandingTildeInPath: String

A new string made by expanding the initial component of the receiver to its full path value.