crowdsec/pkg/hubtest/helpers.go
mmetc cab99643d1
Parallel hubtest (#3509)
Hubtests are now much faster and have a --max-jobs option which defaults to the number of cpu cores.
2025-03-17 11:27:09 +01:00

10 lines
147 B
Go

package hubtest
import (
"path/filepath"
)
func basename(params ...any) (any, error) {
s := params[0].(string)
return filepath.Base(s), nil
}