Tree
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "augeas" , cprefix = "aug_" , free_function = "aug_close" ) ]
public class Tree
[ CCode ( cname = "augeas" , cprefix = "aug_" , free_function = "aug_close" ) ]
public class Tree
Namespace: Augeas
Package: augeas
Content:
Creation methods:
- public Tree (string? root = null, string? loadpath = null, InitFlags flags = NO_MODL_AUTOLOAD)
Initialize the library.
Methods:
- public int @get (string path, out unowned string? val)
- public int @set (string path, string val)
- public void close ()
- public int defnode (string name, string expr, string val, out int created)
- public int defvar (string name, string? expr)
- public ErrorCode error ()
- public string error_details ()
- public string error_message ()
- public string error_minor_message ()
- public int insert (string path, string label, bool before)
- public int load ()
Load files into the tree.
- public string[]? match (string path)
- public int mv (string src, string dst)
- public int print (string path = "/*", FileStream output = stdout)
Print each node matching path and its descendants to output.
- public int rm (string path)
- public int save ()
- public int setm (string @base, string sub, string val)
- public int srun (string command = "help", FileStream output = stdout)
Run one or more newline separated commands.
- public int to_xml (string path, out Node doc, uint flags = 0)
- public int transform (string lens, string file, int excl = 0)
Add a transform using lens for file.