MCPcopy
hub / github.com/NVIDIA/aistore / TotalSize

Method TotalSize

dsort/extract/record.go:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118func (r *Record) TotalSize() int64 {
119 size := int64(0)
120 for _, obj := range r.Objects {
121 size += obj.Size
122 }
123 return size
124}
125
126func (r *Record) MakeUniqueName(obj *RecordObj) string {
127 return r.Name + obj.Extension

Callers 3

record_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected