MCPcopy
hub / github.com/expr-lang/expr / DirExistsf

Method DirExistsf

internal/testify/require/require_forward.go:66–71  ·  view source on GitHub ↗

DirExistsf checks whether a directory exists in the given path. It also fails if the path is a file rather a directory or there is an error checking whether it exists.

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

Source from the content-addressed store, hash-verified

64// DirExistsf checks whether a directory exists in the given path. It also fails
65// if the path is a file rather a directory or there is an error checking whether it exists.
66func (a *Assertions) DirExistsf(path string, msg string, args ...interface{}) {
67 if h, ok := a.t.(tHelper); ok {
68 h.Helper()
69 }
70 DirExistsf(a.t, path, msg, args...)
71}
72
73// ElementsMatch asserts that the specified listA(array, slice...) is equal to specified
74// listB(array, slice...) ignoring the order of the elements. If there are duplicate elements,

Callers

nothing calls this directly

Calls 2

DirExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected