Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeEncrypt = "encrypt" ModeDecrypt = "decrypt" )
Variables ¶
This section is empty.
Functions ¶
func GenerateOutputFilename ¶
Types ¶
type FilePair ¶
func BuildGroupFilePairs ¶
func BuildGroupFilePairs(opts GroupOptions) ([]FilePair, error)
func BuildProjectGroupFilePairs ¶
func BuildProjectGroupFilePairs(opts GroupOptions) ([]FilePair, error)
type FormatRule ¶
type FormatRule struct {
Raw string
Format string
Matcher PatternMatcher
}
type GroupOptions ¶
type PatternMatcher ¶
type PatternMatcher struct {
// contains filtered or unexported fields
}
func NewPatternMatcher ¶
func NewPatternMatcher(patterns []string) (PatternMatcher, error)
type PatternRule ¶
type PatternRule struct {
Raw string
Negated bool
DirectoryOnly bool
Anchored bool
HasSlash bool
Segments []string
}
func ParsePatternRules ¶
func ParsePatternRules(patterns []string) ([]PatternRule, error)
Click to show internal directories.
Click to hide internal directories.