Instance Property

fileAttributes

A dictionary with the attributes of the most recently returned file or subdirectory (as referenced by the pathname).

Declaration

var fileAttributes: [FileAttributeKey : Any]? { get }

Discussion

See the description of the fileAttributes(atPath:traverseLink:) method of FileManager for details on obtaining the attributes from the dictionary.

See Also

Getting File and Directory Attributes

var directoryAttributes: [FileAttributeKey : Any]?

A dictionary with the attributes of the directory at which enumeration started.

var level: Int

The number of levels deep the current object is in the directory hierarchy being enumerated.