DosAttributes
public struct DosAttributes : OptionSet
Represents file attributes in DOS format.
-
Raw bit flags value.
Declaration
Swift
public let rawValue: UInt32
-
Initializes attributes with bit flags.
Declaration
Swift
public init(rawValue: UInt32)
-
File is archive or archived.
Declaration
Swift
public static let archive: DosAttributes
-
File is a directory.
Declaration
Swift
public static let directory: DosAttributes
-
File is a volume.
Declaration
Swift
public static let volume: DosAttributes
-
File is a system file.
Declaration
Swift
public static let system: DosAttributes
-
File is hidden.
Declaration
Swift
public static let hidden: DosAttributes
-
File is read-only.
Declaration
Swift
public static let readOnly: DosAttributes