MCPcopy Create free account
hub / github.com/corestoreio/pkg / FileExists

Function FileExists

util/assert/assertions.go:1392–1407  ·  view source on GitHub ↗

FileExists 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, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

FailFunction · 0.85
HelperMethod · 0.80
IsDirMethod · 0.45

Tested by

no test coverage detected