MCPcopy Create free account
hub / github.com/MilenMT/torus / WriteBlock

Method WriteBlock

storage.go:253–253  ·  view source on GitHub ↗
(ctx context.Context, b BlockRef, data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

WriteINodeMethod · 0.65
WriteBlockMethod · 0.65
writerMethod · 0.65
TestWriteBlockFunction · 0.65
PutBlockMethod · 0.65
benchmarkWritesFunction · 0.65
TestWritesFunction · 0.65
WriteBlockMethod · 0.65
WriteBufMethod · 0.65
DeleteBlockMethod · 0.65
performMethod · 0.65
PutBlockMethod · 0.65

Implementers 4

Distributordistributor/distributor.go
deviceBlockstorage/block_device.go
tempBlockStorestorage/temp.go
mfileBlockstorage/mfile.go

Calls

no outgoing calls

Tested by 5

TestWriteBlockFunction · 0.52
benchmarkWritesFunction · 0.52
TestWritesFunction · 0.52
performMethod · 0.52
TestCRCCorruptionFunction · 0.52