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

Function FileExistsf

internal/testify/assert/assertion_format.go:235–240  ·  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.

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

Source from the content-addressed store, hash-verified

233// FileExistsf checks whether a file exists in the given path. It also fails if
234// the path points to a directory or there is an error when trying to check the file.
235func FileExistsf(t TestingT, path string, msg string, args ...interface{}) bool {
236 if h, ok := t.(tHelper); ok {
237 h.Helper()
238 }
239 return FileExists(t, path, append([]interface{}{msg}, args...)...)
240}
241
242// Greaterf asserts that the first element is greater than the second
243//

Callers 2

FileExistsfFunction · 0.92
FileExistsfMethod · 0.70

Calls 2

FileExistsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…