MCPcopy Create free account
hub / github.com/1buran/rHttp / Write

Method Write

session_test.go:19–22  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

17}
18
19func (wc *testWriteCloser) Write(p []byte) (n int, err error) {
20 wc.data = p
21 return len(p), nil
22}
23func (wc *testWriteCloser) Close() error {
24 wc.isClosed = true
25 return nil

Callers 2

SaveMethod · 0.80
PrintDefaultConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected