dev_scripts::sync::pkgsrc

Function update_repo

source
fn update_repo(repo: &str, target_dir: &Path) -> Result<(), RepoUpdateError>
Expand description

Update a local git repository to the newest state. Resets any local changes in case in each repository beforehand to prevent any conflicts.