MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / IsClosing

Method IsClosing

internal/utils/bfs/blocks_file.go:332–334  ·  view source on GitHub ↗

IsClosing 判断当前文件是否正在关闭或者已关闭

()

Source from the content-addressed store, hash-verified

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

Callers 2

syncLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected