MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / IsFileNotFoundError

Function IsFileNotFoundError

common/persistence/problems/utils.go:22–25  ·  view source on GitHub ↗

IsFileNotFoundError check is file not found error

(e error)

Source from the content-addressed store, hash-verified

20
21// IsFileNotFoundError check is file not found error
22func IsFileNotFoundError(e error) bool {
23 _, ok := e.(FileNotFoundError)
24 return ok
25}
26
27// NewFileNotFoundError new a file not found error
28func NewFileNotFoundError(fileName string) error {

Callers 1

ReadProblemGPGInfoZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected