MCPcopy
hub / github.com/perkeep/perkeep / Ref

Struct Ref

pkg/blob/ref.go:39–41  ·  view source on GitHub ↗

Ref is a reference to a Perkeep blob. It is used as a value type and supports equality (with ==) and the ability to use it as a map key.

Source from the content-addressed store, hash-verified

37// It is used as a value type and supports equality (with ==) and the ability
38// to use it as a map key.
39type Ref struct {
40 digest digestType
41}
42
43// SizedRef is like a Ref but includes a size.
44// It should also be used as a value type and supports equality.

Callers 1

verifySizeAndHashFunction · 0.92

Calls

no outgoing calls

Tested by 1

verifySizeAndHashFunction · 0.74