MCPcopy Index your code
hub / github.com/celzero/firestack / upload

Function upload

intra/common.go:554–567  ·  view source on GitHub ↗

upload copies data from remote to local, and returns the number of bytes copied and error, if any. TODO: Propagate TCP RST using local.Abort(), on appropriate errors.

(id string, local, remote net.Conn, ioch chan<- ioinfo)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.85

Calls 5

RecoverFunction · 0.92
CloseOpFunction · 0.92
PipeFunction · 0.92
DFunction · 0.92
conn2strFunction · 0.70

Tested by

no test coverage detected