MCPcopy Create free account
hub / github.com/gokcehan/lf / Write

Method Write

copy.go:27–31  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

25}
26
27func (progressWriter *ProgressWriter) Write(b []byte) (int, error) {
28 n, err := progressWriter.writer.Write(b)
29 progressWriter.nums <- int64(n)
30 return n, err
31}
32
33func copySize(srcs []string) (int64, error) {
34 var total int64

Callers 1

evalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected