Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
486
func
trailingPathSeparatorError(path string) error {
487
return
&os.PathError{Op:
"open"
, Path: path, Err: fmt.Errorf(
"file path ends in a separator"
)}
488
}
Callers
2
OpenFile
Function · 0.85
Create
Method · 0.85
Calls
1
Errorf
Method · 0.65
Tested by
no test coverage detected