(hash string)
| 346 | } |
| 347 | |
| 348 | func (this *BlocksFile) removeWritingFile(hash string) { |
| 349 | this.mu.Lock() |
| 350 | delete(this.writingFileMap, hash) |
| 351 | this.mu.Unlock() |
| 352 | } |
| 353 | |
| 354 | func (this *BlocksFile) checkStatus() error { |
| 355 | if this.isClosed || this.isClosing { |