pub fn detect(start: &Path) -> Vcs
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.
start
.git
.plastic