Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ now_secs
Function
now_secs
atomic-cli/src/commands/agent/lifecycle.rs:1167–1169 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1165
}
1166
1167
fn now_secs() -> i64 {
1168
chrono::Utc::now().timestamp()
1169
}
1170
1171
#[cfg(test)]
1172
mod tests {
Callers
12
run
Method · 0.85
find_governing_lifecycle_for_hook
Function · 0.85
persist_refusal
Function · 0.85
keyed_store_holds_concurrent_runs
Function · 0.85
expired_lifecycles_are_ignored_but_retained_for_interruption_detection
Function · 0.85
governs_requires_cwd_inside_workdir
Function · 0.85
declared_executor_narrows_participation
Function · 0.85
no_executor_means_any_agent_participates
Function · 0.85
most_specific_workdir_wins
Function · 0.85
to_managed_run_context_maps_fields
Function · 0.85
persist_refusal_keeps_first_session_and_recovery
Function · 0.85
immutable_refusal_survives_crash_before_lifecycle_json_update
Function · 0.85
Calls
1
timestamp
Method · 0.45
Tested by
9
keyed_store_holds_concurrent_runs
Function · 0.68
expired_lifecycles_are_ignored_but_retained_for_interruption_detection
Function · 0.68
governs_requires_cwd_inside_workdir
Function · 0.68
declared_executor_narrows_participation
Function · 0.68
no_executor_means_any_agent_participates
Function · 0.68
most_specific_workdir_wins
Function · 0.68
to_managed_run_context_maps_fields
Function · 0.68
persist_refusal_keeps_first_session_and_recovery
Function · 0.68
immutable_refusal_survives_crash_before_lifecycle_json_update
Function · 0.68