Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
220
fn entry_id(entry: &LoadedEntry) -> Option<&str> {
221
entry.data.message.id.as_deref().filter(|id| !id.is_empty())
222
}
223
224
#[cfg(test)]
225
mod tests {
Callers
2
load_entries_inner
Function · 0.70
load_entries_from_directory
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected