(
counts: &mut BTreeMap<(String, String), i64>,
kind: UsageKind,
category: &str,
)
| 374 | } |
| 375 | |
| 376 | fn record_usage_count( |
| 377 | counts: &mut BTreeMap<(String, String), i64>, |
| 378 | kind: UsageKind, |
| 379 | category: &str, |
| 380 | ) { |
| 381 | let kind = match kind { |
| 382 | UsageKind::Tool => "tool", |
| 383 | UsageKind::Skill => "skill", |
| 384 | }; |
| 385 | increment_usage_count(counts, kind, category); |
| 386 | } |
| 387 | |
| 388 | fn increment_usage_count(counts: &mut BTreeMap<(String, String), i64>, kind: &str, category: &str) { |
| 389 | *counts |
no test coverage detected