Documentation ¶
Index ¶
- func ContainsAllTexts(path string, sLine, eLine uint64, args ...string) (bool, error)
- func ContainsText(path string, sLine, eLine uint64, args ...string) ([]bool, error)
- func DeleteGlobPatternedPaths(patterns string)
- func GetAllMatches(patterns []string, optionalCommonRoot ...string) ([]string, error)
- func GetDirSize(path string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAllTexts ¶
ContainsAllText: scans a file line by line for the given list of strings and returns true if all the strings are found and false if any of the strings is not found
func ContainsText ¶
Contains: scans a file line by line and check if it contains the given list of strings sLine and eLine are the start and end lines to scan it starts from 1 where 0 means all lines
func DeleteGlobPatternedPaths ¶
func DeleteGlobPatternedPaths(patterns string)
DeleteGlobPatternedPaths: Delete the files/folders as per the patterns mentioned
func GetAllMatches ¶
func GetDirSize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.