MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / format_optional_epoch_ms

Function format_optional_epoch_ms

crates/openshell-cli/src/run.rs:5418–5424  ·  view source on GitHub ↗
(ms: i64)

Source from the content-addressed store, hash-verified

5416}
5417
5418fn format_optional_epoch_ms(ms: i64) -> String {
5419 if ms > 0 {
5420 format_epoch_ms(ms)
5421 } else {
5422 "-".to_string()
5423 }
5424}
5425
5426fn truncate_status_field(value: &str, max_chars: usize) -> String {
5427 if value.is_empty() {

Callers

nothing calls this directly

Calls 1

format_epoch_msFunction · 0.85

Tested by

no test coverage detected