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

Method NoDirExistsf

internal/testify/require/require_forward.go:1056–1061  ·  view source on GitHub ↗

NoDirExistsf checks whether a directory does not exist in the given path. It fails if the path points to an existing _directory_ only.

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

Source from the content-addressed store, hash-verified

1054// NoDirExistsf checks whether a directory does not exist in the given path.
1055// It fails if the path points to an existing _directory_ only.
1056func (a *Assertions) NoDirExistsf(path string, msg string, args ...interface{}) {
1057 if h, ok := a.t.(tHelper); ok {
1058 h.Helper()
1059 }
1060 NoDirExistsf(a.t, path, msg, args...)
1061}
1062
1063// NoError asserts that a function returned no error (i.e. `nil`).
1064//

Callers

nothing calls this directly

Calls 2

NoDirExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected