FileInfo.getAttributeFilePath

string getAttributeFilePath(string attribute)

Gets the value of a byte string attribute as a file path.

If the attribute does not contain a byte string, NULL will be returned.

This function is meant to be used by language bindings that have specific handling for Unix paths.

Parameters

attributea file attribute key.

Returns

the contents of the attribute value as

a file path, or null otherwise.