Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ RemoveAll
Method
RemoveAll
internal/utils/bfs/meta_file.go:377–380 ·
view source on GitHub ↗
RemoveAll 删除所有数据
()
Source
from the content-addressed store, hash-verified
375
376
// RemoveAll 删除所有数据
377
func
(this *MetaFile) RemoveAll() error {
378
_ = this.fp.Close()
379
return
os.Remove(this.fp.Name())
380
}
Callers
8
TestNewFileWriter
Function · 0.45
TestNewFileWriter_LargeFile
Function · 0.45
TestFileWriter_WriteBodyAt
Function · 0.45
TestMetaFile_RemoveAll
Function · 0.45
TestBlocksFile_RemoveAll
Function · 0.45
RemoveStore
Function · 0.45
cleanDeletedDirs
Method · 0.45
main
Function · 0.45
Calls
3
Close
Method · 0.65
Remove
Method · 0.65
Name
Method · 0.65
Tested by
5
TestNewFileWriter
Function · 0.36
TestNewFileWriter_LargeFile
Function · 0.36
TestFileWriter_WriteBodyAt
Function · 0.36
TestMetaFile_RemoveAll
Function · 0.36
TestBlocksFile_RemoveAll
Function · 0.36