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

Method FileExistsf

internal/testify/require/require_forward.go:468–473  ·  view source on GitHub ↗

FileExistsf checks whether a file exists in the given path. It also fails if the path points to a directory or there is an error when trying to check the file.

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

Source from the content-addressed store, hash-verified

466// FileExistsf checks whether a file exists in the given path. It also fails if
467// the path points to a directory or there is an error when trying to check the file.
468func (a *Assertions) FileExistsf(path string, msg string, args ...interface{}) {
469 if h, ok := a.t.(tHelper); ok {
470 h.Helper()
471 }
472 FileExistsf(a.t, path, msg, args...)
473}
474
475// Greater asserts that the first element is greater than the second
476//

Callers

nothing calls this directly

Calls 2

FileExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected