mirror of
https://github.com/aquasecurity/trivy.git
synced 2026-12-06 02:02:58 +00:00
Signed-off-by: Simar <simar@linux.com> Co-authored-by: Simar <simar@linux.com>
12 lines
206 B
Go
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")
|