MCPcopy
hub / github.com/perkeep/perkeep / noteChunkOnServer

Method noteChunkOnServer

pkg/client/android/androidx.go:309–311  ·  view source on GitHub ↗
(sb blob.SizedRef)

Source from the content-addressed store, hash-verified

307}
308
309func (asr StatusReceiver) noteChunkOnServer(sb blob.SizedRef) {
310 Printf("CHUNK_UPLOADED %d %s %s\n", sb.Size, sb.Ref, asr.Path)
311}
312
313func (asr StatusReceiver) ReceiveBlob(ctx context.Context, blob blob.Ref, source io.Reader) (blob.SizedRef, error) {
314 // Sniff the first 1KB of it and don't print the stats if it looks like it was just a schema

Callers 2

ReceiveBlobMethod · 0.95
StatBlobsMethod · 0.95

Calls 1

PrintfFunction · 0.70

Tested by

no test coverage detected