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

Method NoFileExistsf

internal/testify/require/require_forward.go:1100–1105  ·  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

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.
1100func (a *Assertions) NoFileExistsf(path string, msg string, args ...interface{}) {
1101 if h, ok := a.t.(tHelper); ok {
1102 h.Helper()
1103 }
1104 NoFileExistsf(a.t, path, msg, args...)
1105}
1106
1107// NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the
1108// specified substring or element.

Callers

nothing calls this directly

Calls 2

NoFileExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected