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

Method NoFileExists

internal/testify/assert/assertion_forward.go:1089–1094  ·  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

1087// NoFileExists checks whether a file does not exist in a given path. It fails
1088// if the path points to an existing _file_ only.
1089func (a *Assertions) NoFileExists(path string, msgAndArgs ...interface{}) bool {
1090 if h, ok := a.t.(tHelper); ok {
1091 h.Helper()
1092 }
1093 return NoFileExists(a.t, path, msgAndArgs...)
1094}
1095
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.

Callers

nothing calls this directly

Calls 2

NoFileExistsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected