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

Function should_show_usage_load_progress

rust/crates/ccusage/src/progress.rs:42–44  ·  view source on GitHub ↗
(json: bool, output_is_tty: bool)

Source from the content-addressed store, hash-verified

40}
41
42pub(crate) fn should_show_usage_load_progress(json: bool, output_is_tty: bool) -> bool {
43 !json && output_is_tty
44}
45
46fn agent_label(agent: UsageLoadAgent) -> &'static str {
47 match agent {

Callers 2

track_usage_loadFunction · 0.85
load_rowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected