Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
GetLastBlock
Method · 0.80
startFindMatchingBlocks_int
Method · 0.80
TestGetBlock
Function · 0.80
TestWriteTwoBlocksGet
Function · 0.80
TestWriteSingleByteGetSingleByte
Function · 0.80
TestWritingAfterTruncating
Function · 0.80
Calls
2
getBlockBuffer
Method · 0.95
maxWritten
Method · 0.95
Tested by
4
TestGetBlock
Function · 0.64
TestWriteTwoBlocksGet
Function · 0.64
TestWriteSingleByteGetSingleByte
Function · 0.64
TestWritingAfterTruncating
Function · 0.64