()
| 531 | } |
| 532 | |
| 533 | func (m *Manager) avgCompressionRatio() float64 { |
| 534 | return float64(m.totalCompressedSize()) / float64(m.totalUncompressedSize()) |
| 535 | } |
| 536 | |
| 537 | // incrementRef increments reference counter. This prevents from premature cleanup. |
| 538 | // Each increment should have corresponding decrement to prevent memory leaks. |
no test coverage detected