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

Function trailingPathSeparatorError

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

Source from the content-addressed store, hash-verified

484}
485
486func trailingPathSeparatorError(path string) error {
487 return &os.PathError{Op: "open", Path: path, Err: fmt.Errorf("file path ends in a separator")}
488}

Callers 2

OpenFileFunction · 0.85
CreateMethod · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected