c0c924b75a
ADDED: * auger, some convenience funcs around Augeas.
10 lines
492 B
Go
10 lines
492 B
Go
package auger
|
|
|
|
const (
|
|
augLensTpl string = "/augeas/load/%v" // A fmt.Sprintf string (single placeholder only) for Lens module roots.
|
|
augFsTree string = "/files"
|
|
augFsTpl string = augFsTree + "%v//%v" // A fmt.Sprintf string (first placeholder fspath, second placeholder includeDirective) for files to search for the includeDirective.
|
|
augInclTfm string = "incl" // The transformer keyword for Augeas includes.
|
|
augAppendSuffix string = "[last()+1]"
|
|
)
|