Contents

FSProbeResult

An object that represents the results of a specific probe.

Declaration

class FSProbeResult

Overview

For any result value other than FSMatchResult.notRecognized, ensure the name and containerID values are non-nil. When a container or volume format doesn’t use a name, return an empty string. Also use an empty string in the case in which the format supports a name, but the value isn’t set yet.

Some container or volume formats may lack a durable UUID on which to base a container identifier. This situation is only valid for unary file systems. In such a case, return a random UUID.

With a block device resource, a probe operation may successfully get a result but encounter an error reading the name or UUID. If this happens, use whatever information is available, and provide an empty string or random UUID for the name or container ID, respectively.

Topics

Working with results

Working with result properties

Initializers

See Also

Supporting types