Documentation ¶
Index ¶
- func GetFlagType(defaultValue string) (string, string)
- func ListFiles(dir string, toExclude []string) ([]string, error)
- func SearchFiles(cfg *config.Config, path string, resultChannel chan model.FileSearchResult)
- type FlagIndexesStruct
- type MatchVariableDefaultValue
- type MatchVariableFlag
- type RegexStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlagType ¶
func ListFiles ¶
ListFiles list all the files in the selected directory that does not match exluded patterns
func SearchFiles ¶
func SearchFiles(cfg *config.Config, path string, resultChannel chan model.FileSearchResult)
SearchFiles search code pattern in files and return results and error
Types ¶
type FlagIndexesStruct ¶ added in v0.9.0
type FlagIndexesStruct struct { FlagIndexes [][]int // contains filtered or unexported fields }
type MatchVariableDefaultValue ¶ added in v0.9.0
type MatchVariableFlag ¶ added in v0.9.0
type RegexStruct ¶ added in v0.9.0
type RegexStruct struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.