MCPcopy Create free account
hub / github.com/ccusage/ccusage / append_agent_rows

Function append_agent_rows

rust/crates/ccusage/src/adapter/all/loader.rs:333–343  ·  view source on GitHub ↗
(
    rows: &mut Vec<AllRow>,
    detected_agents: &mut Vec<&'static str>,
    agent: &'static str,
    agent_rows: AgentRows,
)

Source from the content-addressed store, hash-verified

331}
332
333fn append_agent_rows(
334 rows: &mut Vec<AllRow>,
335 detected_agents: &mut Vec<&'static str>,
336 agent: &'static str,
337 agent_rows: AgentRows,
338) {
339 if agent_rows.detected {
340 detected_agents.push(agent);
341 }
342 rows.extend(agent_rows.rows);
343}
344
345fn load_summary_agent_rows(
346 agent: &'static str,

Callers 1

load_rowsFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected