Contents

containerStatus

The status of the file system container, indicating its readiness and activity.

Declaration

@NSCopying var containerStatus: FSContainerStatus { get set }

Discussion

A file system container starts in the FSContainerState.notReady state, and then transitions to the other values of the FSContainerState enumeration. The following diagram illustrates the possible state transitions.

[Image]

Your file system implementation updates this property as it changes state. Many events and operations may trigger a state transition, and some transitions depend on a specific file system’s design.

When using FSBlockDeviceResource, implement the following common state transitions:

See Also

Implementing essential functionality