SumBlobSize returns the total size in bytes of all the blobs in s.
()
| 291 | |
| 292 | // SumBlobSize returns the total size in bytes of all the blobs in s. |
| 293 | func (s *Storage) SumBlobSize() int64 { |
| 294 | s.mu.RLock() |
| 295 | defer s.mu.RUnlock() |
| 296 | return s.size |
| 297 | } |
| 298 | |
| 299 | // BlobrefStrings returns the sorted stringified blobrefs stored in s. |
| 300 | func (s *Storage) BlobrefStrings() []string { |