MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / NewRepoSpecFromUrl

Function NewRepoSpecFromUrl

utils/github/kustomize/pkg/git/repospec.go:85–99  ·  view source on GitHub ↗

From strings like git@github.com:someOrg/someRepo.git or https://github.com/someOrg/someRepo?ref=someHash, extract the parts.

(n string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

parseGithubUrlFunction · 0.85
ErrorfMethod · 0.65

Tested by

no test coverage detected