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

Method is_expired

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

Source from the content-addressed store, hash-verified

145
146impl ManagedLifecycle {
147 fn is_expired(&self, now: i64) -> bool {
148 self.expires_at <= now
149 }
150
151 fn renew(&mut self, now: i64, ttl_seconds: i64) {
152 self.updated_at = now;

Callers 4

output_defaultMethod · 0.45
runMethod · 0.45
list_activeFunction · 0.45
cleanup_expiredFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected