MCPcopy
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
9type fileExists struct {
10 filepath string
11 isDir bool
12}
13
14func (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