pub fn prune_missing() -> Result<Vec<PathBuf>>
Removes non-existent directories, blank lines, and duplicates from <state_dir>/repos, rewriting the file atomically and returning the removed paths in file order.
<state_dir>/repos