(f *Fs)
| 515 | } |
| 516 | |
| 517 | func 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 | |
| 527 | func (b *backgroundWriter) close() { |
| 528 | b.stateCh <- 2 |
no outgoing calls
no test coverage detected
searching dependent graphs…