IsClosing 判断当前文件是否正在关闭或者已关闭
()
| 330 | |
| 331 | // IsClosing 判断当前文件是否正在关闭或者已关闭 |
| 332 | func (this *BlocksFile) IsClosing() bool { |
| 333 | return this.isClosed || this.isClosing |
| 334 | } |
| 335 | |
| 336 | func (this *BlocksFile) IncrRef() { |
| 337 | atomic.AddInt32(&this.countRefs, 1) |
no outgoing calls
no test coverage detected