pub fn set_total(files: u64, bytes: u64)Expand description
Tell the active progress sink the totals for the current phase so it
can render a percentage / bar. Call this after phase("…") (which
clears any previous totals) and before the copy walk starts. The
numbers come from the analyze pass: files = directory entries to
emit (regular + dir + symlink + device), bytes = total regular-file
body bytes. No-op when no sink is active.