MCPcopy Create free account
hub / github.com/cli/cli / directoryWriteError

Function directoryWriteError

internal/safepaths/root.go:465–467  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

463}
464
465func directoryWriteError(path string) error {
466 return &os.PathError{Op: "open", Path: path, Err: syscall.EISDIR}
467}
468
469func namedPipeWriteError(path string) error {
470 return &os.PathError{Op: "open", Path: path, Err: fmt.Errorf("named pipes cannot be overwritten safely")}

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected