aug_label


Description:

[ Version ( since = "1.23.14" ) ]
public string aug_label (string augpath) throws Error

return the label from an Augeas path expression

The label (name of the last element) of the Augeas path expression augpath is returned. augpath must match exactly one node, else this function returns an error.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error