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:966–968 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
964
}
965
966
fn now_secs() -> i64 {
967
chrono::Utc::now().timestamp()
968
}
969
970
#[cfg(test)]
971
mod tests {
Callers
9
run
Method · 0.85
find_governing_lifecycle_for_hook
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
Calls
1
timestamp
Method · 0.45
Tested by
7
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