aug_insert
Description:
[ Version ( since = "0.7" ) ]
public bool aug_insert (string augpath, string label, bool before) throws Error
public bool aug_insert (string augpath, string label, bool before) throws Error
insert a sibling Augeas node
Create a new sibling label
for path
, inserting it into the tree before or after path
(depending on the
boolean flag before
).
path
must match exactly one existing node in the tree, and label
must be a label, ie. not contain /, "*" or end with
a bracketed index "[N]".
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |