MCPcopy Index your code
hub / github.com/expr-lang/expr / NoFileExistsf

Method NoFileExistsf

internal/testify/assert/assertion_forward.go:1098–1103  ·  view source on GitHub ↗

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

(path string, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

1096// NoFileExistsf checks whether a file does not exist in a given path. It fails
1097// if the path points to an existing _file_ only.
1098func (a *Assertions) NoFileExistsf(path string, msg string, args ...interface{}) bool {
1099 if h, ok := a.t.(tHelper); ok {
1100 h.Helper()
1101 }
1102 return NoFileExistsf(a.t, path, msg, args...)
1103}
1104
1105// NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the
1106// specified substring or element.

Callers

nothing calls this directly

Calls 2

NoFileExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected