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

Method CommitID

private/bufpkg/bufmodule/module.go:91–91  ·  view source on GitHub ↗

CommitID returns the BSR ID of the Commit. It is up to the caller to convert this to a dashless ID when necessary. May be empty, that is CommitID() == uuid.Nil may be true. Callers should not rely on this value being present. If FullName is nil, this will always be empty.

()

Source from the content-addressed store, hash-verified

89 //
90 // If FullName is nil, this will always be empty.
91 CommitID() uuid.UUID
92 // Description returns a human-readable description of the Module.
93 //
94 // This can be manually set by a constructor of a Module. In practice, the only current way

Callers 15

runFunction · 0.65
newExternalImageFileInfoFunction · 0.65
writeBufLockFileFunction · 0.65
newModuleSetFunction · 0.65
newModuleDataFunction · 0.65
ModuleToModuleKeyFunction · 0.65
ToModuleMethod · 0.65

Implementers 1

moduleprivate/bufpkg/bufmodule/module.go

Calls

no outgoing calls

Tested by

no test coverage detected