MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / GetCacheRatioCopy

Function GetCacheRatioCopy

setting/ratio_setting/cache_ratio.go:114–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func GetCacheRatioCopy() map[string]float64 {
115 cacheRatioMapMutex.RLock()
116 defer cacheRatioMapMutex.RUnlock()
117 copyMap := make(map[string]float64, len(cacheRatioMap))
118 for k, v := range cacheRatioMap {
119 copyMap[k] = v
120 }
121 return copyMap
122}

Callers 1

GetExposedDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected