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

Method Digest

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

Digest returns the Module digest for the given DigestType. Note this is *not* a cas.Digest - this is a Digest. cas.Digests are a lower-level type that just deal in terms of files and content. A Digest is a specific algorithm applied to a set of files and dependencies.

(DigestType)

Source from the content-addressed store, hash-verified

113 // type that just deal in terms of files and content. A Digest is a specific algorithm
114 // applied to a set of files and dependencies.
115 Digest(DigestType) (Digest, error)
116
117 // ModuleDeps returns the dependencies for this specific Module.
118 //

Callers 15

writeBufLockFileFunction · 0.65
newModuleDataFunction · 0.65
ModuleToModuleKeyFunction · 0.65
ToModuleMethod · 0.65
newCommitFunction · 0.65

Implementers 1

moduleprivate/bufpkg/bufmodule/module.go

Calls

no outgoing calls

Tested by 1