Contents

supportedXattrNames(for:)

Returns an array that specifies the extended attribute names the given item supports.

Declaration

optional func supportedXattrNames(for item: FSItem) -> [FSFileName]

Parameters

  • item:

    The item for which to get information.

Discussion

If item supports no extended attributes, this method returns nil.

Only implement this method if your volume works with “limited” extended attributes. For purposes of this protocol, “limited” support means the volume doesn’t support extended attributes generally, but uses these APIs to expose specific file system data.

See Also

Reading and writing