pub fn preview(host: &HostContext, root: &Path, git: &Path) -> Result<Preview>Expand description
Destination must be absolute/physical, absent with an existing owned safe parent, or an already-valid non-bare repository. No directories, lock or state are created.