[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[augeas-devel] New lens primitive value



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]