Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/packer
/ fileExists
Struct
fileExists
packer_test/common/check/file_gadgets.go:9–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
)
8
9
type
fileExists
struct
{
10
filepath string
11
isDir bool
12
}
13
14
func
(fe fileExists) Check(_, _ string, _ error) error {
15
st, err := os.Stat(fe.filepath)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected