getAttributeFilePath

open fun getAttributeFilePath(attribute: String): String?

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.

Return

the contents of the @attribute value as a file path, or null otherwise.

Since

2.78

Parameters

attribute

a file attribute key.