Atlantiraptor Docs

xattr

Type: Function · Category: experimental

Query a file for the specified extended attribute.

If no attributes are provided, this function will return all extended attributes for the file.

Please note: this API is not reliable, so please provided extended attributes where possible.

Note: This function only works on Mac and Linux.

Argument Type Description
filename accessors.OSPath (required) Filename to inspect.
attribute list of string Attribute to collect.
accessor string File accessor

Required permissions: FILESYSTEM_READ

Platforms: macOS