Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ stale
Method
stale
launcher/RWStorage.h:41–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
return cache.contains(key);
40
}
41
bool stale(K key)
42
{
43
QReadLocker l(&lock);
44
if(!cache.contains(key))
45
return true;
46
return stale_entries.contains(key);
47
}
48
void setStale(K key)
49
{
50
QWriteLocker l(&lock);
Callers
1
run
Method · 0.80
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected