pub fn backup_worktree(
branch: Option<&str>,
all: bool,
output_dir: Option<&Path>,
) -> Result<()>Expand description
Create backup of worktree(s) using git bundle.
output_dir overrides the default backups root (~/.config/.../backups)
when provided; the directory is created if it does not exist.