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

Method Error

internal/safepaths/root.go:478–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476}
477
478func (e SymlinkTraversalError) Error() string {
479 return fmt.Sprintf("refusing to traverse symbolic link %q", e.Path)
480}
481
482func hasTrailingPathSeparator(path string) bool {
483 return len(path) > 0 && os.IsPathSeparator(path[len(path)-1])

Calls

no outgoing calls