Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccusage/ccusage
/ usage_load_output_is_tty
Function
usage_load_output_is_tty
rust/crates/ccusage/src/progress.rs:103–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
}
102
103
pub(crate) fn usage_load_output_is_tty() -> bool {
104
io::stdout().is_terminal()
105
}
106
107
pub(crate) struct UsageLoadProgress {
108
enabled: bool,
Callers
3
load_with_overrides
Method · 0.85
track_usage_load
Function · 0.85
load_rows
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected