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

Function Example_httpBlockSource

http_test.go:63–149  ·  view source on GitHub ↗

This is exceedingly similar to the module Example, but uses the http blocksource and a local http server

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

GetBlockSizeMethod · 0.95
GetFileSizeMethod · 0.95
PatchMethod · 0.95
CloseMethod · 0.95
NewFileChecksumGeneratorFunction · 0.92
BuildIndexFromStringFunction · 0.92
NewHttpBlockSourceFunction · 0.92
setupServerFunction · 0.85
ReadBytesMethod · 0.80

Tested by

no test coverage detected