MCPcopy Create free account
hub / github.com/expr-lang/expr / NoFileExists

Method NoFileExists

internal/testify/require/require_forward.go:1091–1096  ·  view source on GitHub ↗

NoFileExists checks whether a file does not exist in a given path. It fails if the path points to an existing _file_ only.

(path string, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

1089// NoFileExists checks whether a file does not exist in a given path. It fails
1090// if the path points to an existing _file_ only.
1091func (a *Assertions) NoFileExists(path string, msgAndArgs ...interface{}) {
1092 if h, ok := a.t.(tHelper); ok {
1093 h.Helper()
1094 }
1095 NoFileExists(a.t, path, msgAndArgs...)
1096}
1097
1098// NoFileExistsf checks whether a file does not exist in a given path. It fails
1099// if the path points to an existing _file_ only.

Callers

nothing calls this directly

Calls 2

NoFileExistsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected