Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Error
Method
Error
internal/safepaths/absolute.go:72–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
70
}
71
72
func
(e PathTraversalError) Error() string {
73
return
fmt.Sprintf(
"joining %s and %s would be a traversal"
, e.Base, filepath.Join(e.Elems...))
74
}
Callers
2
TestRepoPartsFromNWO
Function · 0.45
TestJoinPathRejectsTraversal
Function · 0.45
Calls
1
Join
Method · 0.80
Tested by
2
TestRepoPartsFromNWO
Function · 0.36
TestJoinPathRejectsTraversal
Function · 0.36