MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / isExecErrNotFound

Function isExecErrNotFound

src/cmd/linuxkit/pkglib/dockerimpl.go:78–84  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

76}
77
78func isExecErrNotFound(err error) bool {
79 eerr, ok := err.(*exec.Error)
80 if !ok {
81 return false
82 }
83 return eerr.Err == exec.ErrNotFound
84}
85
86// these are the standard 4 build-args supported by `docker build`
87// plus the all_proxy/ALL_PROXY which is a socks standard one

Callers 1

commandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected