MCPcopy Create free account
hub / github.com/bufbuild/buf / NewRegistryCommitID

Function NewRegistryCommitID

private/bufpkg/bufmodule/registry_commit_id.go:28–33  ·  view source on GitHub ↗

NewRegistryCommitID returns a new RegistryCommitID.

(registry string, commitID uuid.UUID)

Source from the content-addressed store, hash-verified

26
27// NewRegistryCommitID returns a new RegistryCommitID.
28func NewRegistryCommitID(registry string, commitID uuid.UUID) RegistryCommitID {
29 return RegistryCommitID{
30 Registry: registry,
31 CommitID: commitID,
32 }
33}
34
35// ModuleKeyToRegistryCommitID converts the ModuleKey to a RegistryCommitID.
36func ModuleKeyToRegistryCommitID(moduleKey ModuleKey) RegistryCommitID {

Callers 2

GetGraphForModuleKeysMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…