Fix up the logs a little
This commit is contained in:
@@ -160,3 +160,12 @@ func LoadCommandFromArgs(args []string) ([]ModifyCommand, error) {
|
||||
func LoadCommandsFromCookFiles(s string) ([]ModifyCommand, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// CountGlobsBeforeDedup counts the total number of glob patterns across all commands before deduplication
|
||||
func CountGlobsBeforeDedup(commands []ModifyCommand) int {
|
||||
count := 0
|
||||
for _, cmd := range commands {
|
||||
count += len(cmd.Files)
|
||||
}
|
||||
return count
|
||||
}
|
||||
|
Reference in New Issue
Block a user