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

Method TotalSize

internal/utils/fs/stat.go:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72func (this *StatResult) TotalSize() uint64 {
73 return this.rawStat.Blocks * this.blockSize
74}
75
76func (this *StatResult) UsedSize() uint64 {
77 if this.rawStat.Bfree <= this.rawStat.Blocks {

Callers 2

TestStatFunction · 0.45
TestStatCacheFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestStatFunction · 0.36
TestStatCacheFunction · 0.36