Skip to main content

summary_line

Function summary_line 

Source
pub fn summary_line(
    copied: usize,
    destinations: usize,
    source: Option<&Path>,
) -> String
Expand description

What: The one summary line a successful copy writes. Why: Users and agents read the count, the source, and the destination count from it.

In TS you’d write (pseudocode):

renderSummary({ copiedEntries, destinationCount, sourceRoot })