Contents

volumeIdentifierKey

The unique identifier of the resource’s volume, returned as an id (read-only).

Declaration

static let volumeIdentifierKey: URLResourceKey

Discussion

This identifier can be used with the isEqual(_:) method to determine whether two file system resources are on the same volume.

The value of this identifier is not persistent across system restarts.

See Also

Volume support keys