MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / BlockID

Struct BlockID

types/block.go:1164–1167  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- BlockID

Source from the content-addressed store, hash-verified

1162
1163// BlockID
1164type BlockID struct {
1165 Hash tmbytes.HexBytes `json:"hash"`
1166 PartSetHeader PartSetHeader `json:"parts"`
1167}
1168
1169// Equals returns true if the BlockID matches the given BlockID
1170func (blockID BlockID) Equals(other BlockID) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected