Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Firstyear/opensuse-proxy-cache
/ MemCache
Class
MemCache
opensuse-proxy-cache/src/memcache.rs:60–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
pub struct MemCache {
61
map: Arc<HashMap<String, Arc<MemCacheObj>>>,
62
pub submit_tx: Sender<MemCacheMeta>,
63
}
64
65
impl MemCache {
66
pub fn new() -> MemCache {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected