Structure

FileManager.UnmountOptions

Options that specify the behavior of an unmount operation.

Declaration

struct UnmountOptions

Topics

Creating Unmount Options

init(rawValue: UInt)

Creates an unmount option set from the given raw value.

Type Properties

static var allPartitionsAndEjectDisk: FileManager.UnmountOptions

Specifies that all partitions on an unmountable disk should be unmounted.

static var withoutUI: FileManager.UnmountOptions

Specifies that no UI should accompany the unmount operation.

Relationships

Conforms To

See Also

Unmounting Volumes

let NSFileManagerUnmountDissentingProcessIdentifierErrorKey: String

The process identifier of the process that prevented a volume from unmounting.