MCPcopy Create free account
hub / github.com/docker/compose / Accept

Method Accept

pkg/remote/git.go:68–71  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

66}
67
68func (g gitRemoteLoader) Accept(path string) bool {
69 _, _, err := gitutil.ParseGitRef(path)
70 return err == nil
71}
72
73var commitSHA = regexp.MustCompile(`^[a-f0-9]{40}$`)
74

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected