Structure
FileAttributeType
Values representing a file’s type attribute.
struct FileAttributeType
Discussion
These strings are the possible values for the type attribute key contained in the dictionary object returned by attributesOfItem(atPath:).
Topics
Initializers
init(String)init(rawValue: String)Creates a file attribute type value.
Instance Properties
Type Properties
static let typeBlockSpecial: FileAttributeTypeA block special file.static let typeCharacterSpecial: FileAttributeTypeA character special file.static let typeDirectory: FileAttributeTypeA directory.static let typeRegular: FileAttributeTypeA regular file.static let typeSocket: FileAttributeTypeA socket.static let typeSymbolicLink: FileAttributeTypeA symbolic link.static let typeUnknown: FileAttributeTypeA file whose type is unknown.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype