Skip to main content

open

Function open 

Source
pub fn open(root: &Path) -> Result<Box<dyn Vcs>, VcsError>
Expand description

Open the right backend for root, as discover resolved it, at DiffSettings::default: JjVcs when a .jj directory sits beside .git (a colocated jj repo), plain GitVcs otherwise.