mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +02:00
Hubtests are now much faster and have a --max-jobs option which defaults to the number of cpu cores.
10 lines
147 B
Go
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
|
|
}
|