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

Function load_entries

rust/crates/ccusage/src/adapter/codebuff/loader.rs:14–20  ·  view source on GitHub ↗
(shared: &SharedArgs, pricing: &PricingMap)

Source from the content-addressed store, hash-verified

12};
13
14pub(crate) fn load_entries(shared: &SharedArgs, pricing: &PricingMap) -> Result<Vec<LoadedEntry>> {
15 crate::progress::track_usage_load(
16 crate::progress::UsageLoadAgent::Codebuff,
17 shared.json,
18 || load_entries_inner(shared, pricing),
19 )
20}
21
22fn load_entries_inner(shared: &SharedArgs, pricing: &PricingMap) -> Result<Vec<LoadedEntry>> {
23 let tz = parse_tz(shared.timezone.as_deref());

Callers 3

runFunction · 0.70

Calls 2

track_usage_loadFunction · 0.85
load_entries_innerFunction · 0.70