Skip to main content

bundle_for

Function bundle_for 

Source
pub fn bundle_for(src: &Path, repo: &str) -> Option<PathBuf>
Expand description

The bundle for one repository, under either backup leg’s naming.

The full repository path (owner/name.git.bundle) and the basename the flip-era leg writes (name.bundle). Resolved in one place so the existence check and the unbundle loop can never disagree about which file they mean.