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

Function load_entries

rust/crates/ccusage/src/adapter/droid/loader.rs:14–18  ·  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(crate::progress::UsageLoadAgent::Droid, shared.json, || {
16 load_entries_inner(shared, pricing)
17 })
18}
19
20fn load_entries_inner(shared: &SharedArgs, pricing: &PricingMap) -> Result<Vec<LoadedEntry>> {
21 let tz = parse_tz(shared.timezone.as_deref());

Calls 2

track_usage_loadFunction · 0.85
load_entries_innerFunction · 0.70