tag : import tests from gag

This commit is contained in:
bth 2026-01-20 14:57:11 -08:00
commit d35b26b754
11 changed files with 190 additions and 3 deletions

View file

@ -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))