MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / setMaximumAge

Method setMaximumAge

launcher/net/HttpMetaCache.h:75–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74 auto getMaximumAge() -> qint64 { return max_age; }
75 void setMaximumAge(qint64 age) { max_age = age; }
76
77 bool isExpired(qint64 offset) { return !is_eternal && (current_age >= max_age - offset); };
78

Callers 1

finalizeCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected