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

Method renew

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

Source from the content-addressed store, hash-verified

233 }
234
235 fn renew(&mut self, now: i64, ttl_seconds: i64) {
236 self.updated_at = now;
237 self.expires_at = now + ttl_seconds.max(1);
238 }
239
240 /// Whether a hook from `agent_name` running in `cwd` participates in
241 /// this run: the cwd must be inside the run's workdir, and the agent

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected