[augeas-devel] New lens primitive value

lutter at redhat.com lutter at redhat.com
Fri Jan 15 19:34:03 UTC 2010


This adds a new lens primitive 'value'. It is the counterpart of the label
lens in that it sets the value of a tree node to a constant, rather than
the label.

The included test demonstrates its use:

  let l = [ label "label" . value "value" ]

  test l get "" = { "label" = "value" }

David




More information about the augeas-devel mailing list