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

Function isFilesystemPath

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

Source from the content-addressed store, hash-verified

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

Callers 1

parseRemoteURLOrNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected