MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_expired

Method is_expired

atomic-cli/src/commands/agent/lifecycle.rs:231–233  ·  view source on GitHub ↗
(&self, now: i64)

Source from the content-addressed store, hash-verified

229
230impl ManagedLifecycle {
231 fn is_expired(&self, now: i64) -> bool {
232 self.expires_at <= now
233 }
234
235 fn renew(&mut self, now: i64, ttl_seconds: i64) {
236 self.updated_at = now;

Callers 6

executeMethod · 0.45
output_defaultMethod · 0.45
runMethod · 0.45
cleanup_expiredFunction · 0.45
list_by_stateFunction · 0.45
is_usableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected