Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ FreeSize
Method
FreeSize
internal/utils/fs/stat.go:68–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(this *StatResult) FreeSize() uint64 {
69
return
this.rawStat.Bfree * this.blockSize
70
}
71
72
func
(this *StatResult) TotalSize() uint64 {
73
return
this.rawStat.Blocks * this.blockSize
Callers
4
TestStat
Function · 0.80
TestStatCache
Function · 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