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

Method Type

private/bufpkg/bufplugin/digest.go:89–89  ·  view source on GitHub ↗

Type returns the type of digest. Always a valid value.

()

Source from the content-addressed store, hash-verified

87 //
88 // Always a valid value.
89 Type() DigestType
90 // Value returns the digest value.
91 //
92 // Always non-empty.

Callers 15

TestNewDigestForContentFunction · 0.65
TestParseDigestErrorFunction · 0.65
DigestEqualFunction · 0.65
ModuleKeyToCommitKeyFunction · 0.65
NewDigestFunction · 0.65
DigestEqualFunction · 0.65
newModuleDataFunction · 0.65
ToModuleMethod · 0.65

Implementers 4

digestprivate/pkg/cas/digest.go
digestprivate/bufpkg/bufmodule/digest.go
digestprivate/bufpkg/bufpolicy/digest.go
digestprivate/bufpkg/bufplugin/digest.go

Calls

no outgoing calls

Tested by 2

TestNewDigestForContentFunction · 0.52
TestParseDigestErrorFunction · 0.52