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

Function format_block_models

rust/crates/ccusage/src/blocks.rs:202–208  ·  view source on GitHub ↗
(models: &[String])

Source from the content-addressed store, hash-verified

200}
201
202fn format_block_models(models: &[String]) -> String {
203 if models.is_empty() {
204 "-".to_string()
205 } else {
206 format_models_multiline(models)
207 }
208}
209
210fn format_block_time(block: &SessionBlock, compact: bool) -> String {
211 let start = format_local_block_start(block.start_time, compact);

Callers

nothing calls this directly

Calls 1

format_models_multilineFunction · 0.85

Tested by

no test coverage detected