v1.9.0
IMPROVED: * Removed *BROKEN* dep. lrn2fixurshitk
This commit is contained in:
@@ -7,3 +7,35 @@ const (
|
||||
augInclTfm string = "incl" // The transformer keyword for Augeas includes.
|
||||
augAppendSuffix string = "[last()+1]"
|
||||
)
|
||||
|
||||
var (
|
||||
dstPtrTrue bool = true
|
||||
dstPtrFalse bool = false
|
||||
)
|
||||
|
||||
var (
|
||||
// PtrTrue and PtrFalse are convenience references for constructing an AugFlags if needed. It is recommended you do not change these values if you do not like being confused.
|
||||
PtrTrue *bool = &dstPtrTrue
|
||||
PtrFalse *bool = &dstPtrFalse
|
||||
)
|
||||
|
||||
/*
|
||||
IncludeOptNone is the default include recursion option for Aug.RecursiveInclude.
|
||||
* No special behavior is defined
|
||||
* All include directives are assumed to refer:
|
||||
* Explicitly/exclusively to file paths
|
||||
* That must exist
|
||||
*/
|
||||
const IncludeOptNone includeOpt = 0
|
||||
const (
|
||||
// IncludeOptNoExist specifies that inclusions are allowed to not exist, otherwise an error will be raised while attempting to parse them.
|
||||
IncludeOptNoExist includeOpt = 1 << iota
|
||||
// IncludeOptGlobbing indicates that the inclusion system supports globbing (as supported by (github.com/gobwas/glob).Match).
|
||||
IncludeOptGlobbing
|
||||
// IncludeOptRegex indicates that the inclusion system supports matching by regex (as supported by regexp).
|
||||
IncludeOptRegex
|
||||
// IncludeOptDirs indicates that the inclusion system supports matching by directory.
|
||||
IncludeOptDirs
|
||||
// IncludeOptDirsRecursive indicates that the inclusion system also recurses into subdirectories of matched directories. Only used if IncludeOptDirs is also set.
|
||||
IncludeOptDirsRecursive
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user