MCPcopy Create free account
hub / github.com/Redundancy/go-sync / GetBlock

Method GetBlock

circularbuffer/noalloc.go:111–117  ·  view source on GitHub ↗

get the current buffer contents of block

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

GetLastBlockMethod · 0.80
TestGetBlockFunction · 0.80
TestWriteTwoBlocksGetFunction · 0.80

Calls 2

getBlockBufferMethod · 0.95
maxWrittenMethod · 0.95

Tested by 4

TestGetBlockFunction · 0.64
TestWriteTwoBlocksGetFunction · 0.64