MCPcopy
hub / github.com/rclone/rclone / putN

Method putN

lib/pool/pool.go:129–131  ·  view source on GitHub ↗

put puts the bufs on the end of bp.cache Call with mu held

(bufs [][]byte)

Source from the content-addressed store, hash-verified

127//
128// Call with mu held
129func (bp *Pool) putN(bufs [][]byte) {
130 bp.cache = append(bp.cache, bufs...)
131}
132
133// buffers returns the number of buffers in bp.ache
134//

Callers 1

GetNMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected