Skip to content
Please update to the latest release 0.77.2 to address Multiple CVEs.

xattr

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

Required permissions: FILESYSTEM_READ

Description

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.