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

Method CommitID

private/bufpkg/bufmodule/module_key.go:48–48  ·  view source on GitHub ↗

CommitID returns the ID of the Commit. It is up to the caller to convert this to a dashless ID when necessary. Always present, that is CommitID() == uuid.Nil will always be false.

()

Source from the content-addressed store, hash-verified

46 //
47 // Always present, that is CommitID() == uuid.Nil will always be false.
48 CommitID() uuid.UUID
49 // Digest returns the Module digest.
50 //
51 // Note this is *not* a cas.Digest - this is a Digest. cas.Digests are a lower-level

Callers 1

ModuleKeyToCommitKeyFunction · 0.65

Implementers 1

moduleKeyprivate/bufpkg/bufmodule/module_key.go

Calls

no outgoing calls

Tested by

no test coverage detected