Files
trivy/internal/testutil/error.go
T
2023-04-23 19:22:46 +03:00

12 lines
206 B
Go

package testutil
import (
"runtime"
"github.com/samber/lo"
)
var ErrNotExist string = lo.Ternary(runtime.GOOS == "windows",
"The system cannot find the file specified.",
"no such file or directory")