Skip to main content

detect

Function detect 

Source
pub fn detect(start: &Path) -> Vcs
Expand description

Walk up from start looking for a VCS marker. The first match wins; .git and .plastic are checked together at each level so a nested layout resolves to the closest enclosing workspace.