(flushing bool)
| 487 | } |
| 488 | |
| 489 | func (s *FileStore) setIsFlushing(flushing bool) { |
| 490 | s.Lock.Lock() |
| 491 | defer s.Lock.Unlock() |
| 492 | s.IsFlushing = flushing |
| 493 | } |
| 494 | |
| 495 | // returns old value of IsFlushing |
| 496 | func (s *FileStore) setUnlessFlushing() bool { |