pub fn leftover_report(created: &[Created], destination: &Path) -> StringExpand description
What: The report of entries a clone run created and leaves in place. Why: The tracked ones are overwritten by the checkout that completes the worktree; any other stays as an untracked file, and the person is told where to look.
In TS you’d write (pseudocode):
const text = leftover_report(created, destination);