Contents

fileSystemAttributes(atPath:)

Returns a dictionary that describes the attributes of the mounted file system on which a given path resides.

Declaration

func fileSystemAttributes(atPath path: String) -> [AnyHashable : Any]?

Parameters

  • path:

    Any pathname within the mounted file system.

Return Value

An NSDictionary 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

Because this method does not return error information, it has been deprecated as of OS X v10.5. Use attributesOfFileSystem(forPath:) instead.

See Also

Related Documentation

Deprecated Methods