lgetxattrs


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.0.59" ) ]
public XAttr[] lgetxattrs (string path) throws Error

list extended attributes of a file or directory

This is the same as getxattrs, but if path is a symbolic link, then it returns the extended attributes of the link itself.

This function depends on the feature "linuxxattrs". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

an array of XAttr objects, or NULL on error