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

Function load_entries

rust/crates/ccusage/src/adapter/opencode/loader.rs:19–25  ·  view source on GitHub ↗
(shared: &SharedArgs)

Source from the content-addressed store, hash-verified

17};
18
19pub(crate) fn load_entries(shared: &SharedArgs) -> Result<Vec<LoadedEntry>> {
20 crate::progress::track_usage_load(
21 crate::progress::UsageLoadAgent::OpenCode,
22 shared.json,
23 || load_entries_inner(shared),
24 )
25}
26
27fn load_entries_inner(shared: &SharedArgs) -> Result<Vec<LoadedEntry>> {
28 let mut entries = Vec::new();

Callers 1

runFunction · 0.70

Calls 2

track_usage_loadFunction · 0.85
load_entries_innerFunction · 0.70

Tested by

no test coverage detected