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

Function first_column

rust/crates/ccusage/src/adapter/opencode/report.rs:147–154  ·  view source on GitHub ↗
(kind: AgentReportKind)

Source from the content-addressed store, hash-verified

145}
146
147pub(crate) fn first_column(kind: AgentReportKind) -> &'static str {
148 match kind {
149 AgentReportKind::Daily => "Date",
150 AgentReportKind::Weekly => "Week",
151 AgentReportKind::Monthly => "Month",
152 AgentReportKind::Session => "Session",
153 }
154}
155
156pub(crate) fn summary_period(row: &crate::UsageSummary) -> &str {
157 row.date

Callers 10

runFunction · 0.70
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
runFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected