MCPcopy Index your code
hub / github.com/cortexlabs/cortex / ErrorCreateDir

Function ErrorCreateDir

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

Source from the content-addressed store, hash-verified

42)
43
44func ErrorCreateDir(path string) error {
45 return errors.WithStack(&errors.Error{
46 Kind: ErrCreateDir,
47 Message: fmt.Sprintf("%s: unable to create directory", path),
48 })
49}
50
51func ErrorDeleteDir(path string) error {
52 return errors.WithStack(&errors.Error{

Callers 2

CreateDirFunction · 0.85
MakeEmptyFileFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected