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

Function NoFileExists

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

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

Source from the content-addressed store, hash-verified

1377// NoFileExists checks whether a file does not exist in a given path. It fails
1378// if the path points to an existing _file_ only.
1379func NoFileExists(t TestingT, path string, msgAndArgs ...interface{}) {
1380 if h, ok := t.(tHelper); ok {
1381 h.Helper()
1382 }
1383 if assert.NoFileExists(t, path, msgAndArgs...) {
1384 return
1385 }
1386 t.FailNow()
1387}
1388
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.

Callers 1

NoFileExistsMethod · 0.70

Calls 3

NoFileExistsFunction · 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…