aug_defvar


Description:

[ Version ( since = "0.7" ) ]
public int32 aug_defvar (string name, string? expr) throws Error

define an Augeas variable

Defines an Augeas variable name whose value is the result of evaluating expr. If expr is NULL, then name is undefined.

On success this returns the number of nodes in expr, or @0 if expr evaluates to something which is not a nodeset.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error




2022 vala-language.org