tag : import tests from gag
This commit is contained in:
parent
fb25a2bb43
commit
d35b26b754
11 changed files with 190 additions and 3 deletions
|
|
@ -91,8 +91,8 @@ func getFilelist(glob string) []string {
|
|||
}
|
||||
|
||||
// create []Entry representing qualifying files in current directory or from stdin
|
||||
func entriesGlobOrStdin() []Entry {
|
||||
filelist := getFilelist(GLOB)
|
||||
func entriesGlobOrStdin(glob string) []Entry {
|
||||
filelist := getFilelist(glob)
|
||||
|
||||
// NOTE: size 0, capacity specified:
|
||||
entries := make([]Entry, 0, len(filelist))
|
||||
|
|
|
|||
Loading…
Reference in a new issue