pub fn open_source(
fs: &dyn Fs,
path: &Path,
machine: Option<&str>,
) -> Result<SourceChoice, CoreError>Expand description
Opens path for a restore: a zip, a bare repository, a mirror, a
machine subfolder, or a folder remote (machine picks by id or exact
label; an ambiguous label fails and names the ids).