destinationOfSymbolicLink(at:)
Returns the path of the item pointed to by a symbolic link.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func destinationOfSymbolicLink(at path: FilePath) async throws -> FilePath
Parameters
- path
The path of a file or directory.
Returns
The path of the file or directory to which the symbolic link points to.