[augeas-devel] [PATCH] Add aug_span API function V2

David Lutterkort lutter at redhat.com
Wed Feb 23 02:04:38 UTC 2011


On Sun, 2011-02-06 at 15:42 -0500, Francis Giraldeau wrote:
> aug_span API function provides information about the node of the specified
> path. It sets the absolute path of the file name and indexes of label, value
> and span inside the node. The span includes all matching chars of the actual
> lens and it's descendant. Hence, the top level node will span the entire file.
> It returns 0 in case of success and -1 if the node is not associated to a file
> or if the path is invalid.  The main use case is to make possible to display
> the related file with the node elements hightlighted in a UI.

ACK. Committed.

David





More information about the augeas-devel mailing list