MCPcopy
hub / github.com/rclone/rclone / newBackgroundWriter

Function newBackgroundWriter

backend/cache/handle.go:517–525  ·  view source on GitHub ↗
(f *Fs)

Source from the content-addressed store, hash-verified

515}
516
517func newBackgroundWriter(f *Fs) *backgroundWriter {
518 b := &backgroundWriter{
519 fs: f,
520 stateCh: make(chan int),
521 notifyCh: make(chan BackgroundUploadState),
522 }
523
524 return b
525}
526
527func (b *backgroundWriter) close() {
528 b.stateCh <- 2

Callers 1

initBackgroundUploaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…