MCPcopy Index your code
hub / github.com/cli/cli / isFilesystemPath

Function isFilesystemPath

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

Source from the content-addressed store, hash-verified

912}
913
914func isFilesystemPath(p string) bool {
915 return p == "." || strings.HasPrefix(p, "./") || strings.HasPrefix(p, "/")
916}
917
918func outputLines(output []byte) []string {
919 lines := strings.TrimSuffix(string(output), "\n")

Callers 1

parseRemoteURLOrNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected