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

Function NoFileExistsf

internal/testify/require/require.go:1391–1399  ·  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.

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

Source from the content-addressed store, hash-verified

1389// NoFileExistsf checks whether a file does not exist in a given path. It fails
1390// if the path points to an existing _file_ only.
1391func NoFileExistsf(t TestingT, path string, msg string, args ...interface{}) {
1392 if h, ok := t.(tHelper); ok {
1393 h.Helper()
1394 }
1395 if assert.NoFileExistsf(t, path, msg, args...) {
1396 return
1397 }
1398 t.FailNow()
1399}
1400
1401// NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the
1402// specified substring or element.

Callers 1

NoFileExistsfMethod · 0.70

Calls 3

NoFileExistsfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…