()
| 260 | } |
| 261 | |
| 262 | func (this *BlocksFile) ForceSync() error { |
| 263 | this.mu.Lock() |
| 264 | defer this.mu.Unlock() |
| 265 | |
| 266 | err := this.checkStatus() |
| 267 | if err != nil { |
| 268 | return err |
| 269 | } |
| 270 | |
| 271 | return this.sync(true) |
| 272 | } |
| 273 | |
| 274 | func (this *BlocksFile) SyncAt() time.Time { |
| 275 | return this.syncAt |
no test coverage detected