directoryAttributes
A dictionary with the attributes of the directory at which enumeration started.
Declaration
var directoryAttributes: [FileAttributeKey : Any]? { get }Discussion
See the description of the fileAttributes(atPath:traverseLink:) method of FileManager for details on obtaining the attributes from the dictionary.