Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ UsedSize
Method
UsedSize
internal/utils/fs/stat.go:76–81 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
}
75
76
func
(this *StatResult) UsedSize() uint64 {
77
if
this.rawStat.Bfree <= this.rawStat.Blocks {
78
return
(this.rawStat.Blocks - this.rawStat.Bfree) * this.blockSize
79
}
80
return
0
81
}
Callers
5
TestStat
Function · 0.80
TestStatCache
Function · 0.80
TotalDiskSize
Method · 0.80
checkDiskSpace
Method · 0.80
updateCacheSpace
Method · 0.80
Calls
no outgoing calls
Tested by
2
TestStat
Function · 0.64
TestStatCache
Function · 0.64