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

Function entry_id

rust/crates/ccusage/src/adapter/opencode/loader.rs:220–222  ·  view source on GitHub ↗
(entry: &LoadedEntry)

Source from the content-addressed store, hash-verified

218}
219
220fn entry_id(entry: &LoadedEntry) -> Option<&str> {
221 entry.data.message.id.as_deref().filter(|id| !id.is_empty())
222}
223
224#[cfg(test)]
225mod tests {

Callers 2

load_entries_innerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected