MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / 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 m_max_age; }
75 void setMaximumAge(qint64 age) { m_max_age = age; }
76
77 bool isExpired(qint64 offset) { return !m_is_eternal && (m_current_age >= m_max_age - offset); }
78

Callers 1

finalizeCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected