attributesOfFileSystem(forPath:)
Returns a dictionary that describes the attributes of the mounted file system on which a given path resides.
Declaration
func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey : Any]Parameters
- path:
Any pathname within the mounted file system.
Mentioned in
Return Value
A dictionary object that describes the attributes of the mounted file system on which path resides. See File-System Attribute Keys for a description of the keys available in the dictionary.
Discussion
This method does not traverse a terminal symbolic link.