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

Function isFilesystemPath

git/client.go:974–976  ·  view source on GitHub ↗
(p string)

Source from the content-addressed store, hash-verified

972}
973
974func isFilesystemPath(p string) bool {
975 return p == "." || strings.HasPrefix(p, "./") || strings.HasPrefix(p, "/")
976}
977
978func outputLines(output []byte) []string {
979 lines := strings.TrimSuffix(string(output), "\n")

Callers 1

parseRemoteURLOrNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected