MCPcopy
hub / github.com/cortexlabs/cortex / ErrorCreateFile

Function ErrorCreateFile

pkg/lib/files/errors.go:65–70  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

63}
64
65func ErrorCreateFile(path string) error {
66 return errors.WithStack(&errors.Error{
67 Kind: ErrCreateFile,
68 Message: fmt.Sprintf("%s: unable to create file", path),
69 })
70}
71
72func ErrorReadDir(path string) error {
73 return errors.WithStack(&errors.Error{

Callers 6

OpenFileFunction · 0.85
CreateFunction · 0.85
CreateFileFunction · 0.85
WriteFileFromReaderFunction · 0.85
WriteFileFunction · 0.85
MakeEmptyFileFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected