MCPcopy 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
72func (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

TestRepoPartsFromNWOFunction · 0.45

Calls 1

JoinMethod · 0.80

Tested by 2

TestRepoPartsFromNWOFunction · 0.36