MCPcopy Create free account
hub / github.com/akalin/gopar / OnDataFileWrite

Method OnDataFileWrite

cmd/par/main.go:69–75  ·  view source on GitHub ↗
(i, n int, path string, byteCount int, err error)

Source from the content-addressed store, hash-verified

67}
68
69func (par1LogDecoderDelegate) OnDataFileWrite(i, n int, path string, byteCount int, err error) {
70 if err != nil {
71 fmt.Printf("[%d/%d] Writing data file %q failed: %+v\n", i, n, path, err)
72 } else {
73 fmt.Printf("[%d/%d] Wrote data file %q (%d bytes)\n", i, n, path, byteCount)
74 }
75}
76
77func (par1LogDecoderDelegate) OnVolumeFileLoad(i uint64, path string, storedSetHash, computedSetHash [16]byte, dataByteCount int, err error) {
78 if os.IsNotExist(err) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected