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

Method NoDirExists

internal/testify/require/require_forward.go:1047–1052  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1045// NoDirExists checks whether a directory does not exist in the given path.
1046// It fails if the path points to an existing _directory_ only.
1047func (a *Assertions) NoDirExists(path string, msgAndArgs ...interface{}) {
1048 if h, ok := a.t.(tHelper); ok {
1049 h.Helper()
1050 }
1051 NoDirExists(a.t, path, msgAndArgs...)
1052}
1053
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.

Callers

nothing calls this directly

Calls 2

NoDirExistsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected