getItemBytes atomically retrieves the rev cache items overall memory footprint
()
| 841 | |
| 842 | // getItemBytes atomically retrieves the rev cache items overall memory footprint |
| 843 | func (value *revCacheValue) getItemBytes() int64 { |
| 844 | return value.itemBytes.Load() |
| 845 | } |
| 846 | |
| 847 | // CalculateBytes will calculate the bytes from revisions in the document, body and channels on the document |
| 848 | func (rev *DocumentRevision) CalculateBytes() { |
no test coverage detected