## collect_statuses

# Function collect_statuses

Source

    fn collect_statuses(
        repo: &Repository,
        workdir: &Path,
        relative_package_root: Option<&Path>,
        dirty_files: &mut Vec<PathBuf>,
    ) -> CargoResult<()>

Expand description

Helper to collect dirty statuses for a single repo. `relative_package_root` is `Some` if the root is a sub-directory of the workdir. Writes dirty files outside `relative_package_root` into `dirty_files_outside_package_root`, and all everything else into `dirty_files`.