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

Method removeWritingFile

internal/utils/bfs/blocks_file.go:348–352  ·  view source on GitHub ↗
(hash string)

Source from the content-addressed store, hash-verified

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

Callers 1

CloseMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected