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

Function agent

atomic-cli/src/commands/diagnostics/collect.rs:1486–1488  ·  view source on GitHub ↗
(report: &'r Report, name: &str)

Source from the content-addressed store, hash-verified

1484 }
1485
1486 fn agent<'r>(report: &'r Report, name: &str) -> &'r AgentState {
1487 report.agents.iter().find(|a| a.name == name).unwrap()
1488 }
1489
1490 #[test]
1491 fn a_fresh_machine_reports_everything_as_absent_not_guessed() {

Calls 2

unwrapMethod · 0.45
iterMethod · 0.45