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:590–592 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
588
}
589
590
fn now_secs() -> i64 {
591
chrono::Utc::now().timestamp()
592
}
593
594
#[cfg(test)]
595
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_and_cleaned
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_and_cleaned
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