pub fn checkout_exclusive( index_path: impl AsRef<Path>, dest_directory: impl AsRef<Path>, repo: Option<PathBuf>, err: impl Write, progress: impl NestedProgress, should_interrupt: &AtomicBool, _: Options, ) -> Result<()>