MCPcopy Index your code
hub / github.com/expr-lang/expr / FileExistsf

Method FileExistsf

internal/testify/assert/assertion_forward.go:466–471  ·  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

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

Callers

nothing calls this directly

Calls 2

FileExistsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected