Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AI45Lab/Code
/ now
Function
now
core/src/ahp/contract.rs:287–289 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
285
}
286
287
fn now() -> String {
288
Utc::now().to_rfc3339()
289
}
290
291
#[cfg(test)]
292
mod tests {
Callers
15
now_ms
Method · 0.85
register_and_wait
Method · 0.85
execute_with_notification
Method · 0.85
now_ms
Function · 0.85
add_to_working
Method · 0.85
test_agent_memory_prune_delegates
Function · 0.85
test_agent_memory_score_uses_config
Function · 0.85
test_external_task_timeout
Function · 0.85
new
Method · 0.85
record
Method · 0.85
test_llm_cost_record_serialize
Function · 0.85
test_llm_cost_record_fields
Function · 0.85
Calls
no outgoing calls
Tested by
15
test_agent_memory_prune_delegates
Function · 0.68
test_agent_memory_score_uses_config
Function · 0.68
test_external_task_timeout
Function · 0.68
test_llm_cost_record_serialize
Function · 0.68
test_llm_cost_record_fields
Function · 0.68
test_llm_cost_record_with_cost
Function · 0.68
test_llm_cost_record_without_cost
Function · 0.68
test_llm_cost_record_with_session
Function · 0.68
test_llm_cost_record_without_session
Function · 0.68
test_llm_cost_record_serialization
Function · 0.68
test_llm_cost_record_zero_tokens
Function · 0.68
test_llm_cost_record_clone
Function · 0.68