MCPcopy Create free account
hub / github.com/codemod/codemod / truncate_filename

Function truncate_filename

crates/cli/src/progress_bar.rs:8–19  ·  view source on GitHub ↗

Truncate filename to a fixed width, keeping the end characters which are usually most relevant

(filename: &str, max_width: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…