MCPcopy Create free account
hub / github.com/astercloud/aster / Size

Method Size

pkg/compression/service.go:650–655  ·  view source on GitHub ↗

Size 获取缓存大小

()

Source from the content-addressed store, hash-verified

648
649// Size 获取缓存大小
650func (c *CompressionCache) Size() int {
651 c.mu.RLock()
652 defer c.mu.RUnlock()
653
654 return len(c.cache)
655}

Callers 1

TestCompressionCacheFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestCompressionCacheFunction · 0.76