fn examine(dir: &Path) -> Result<bool>
Whether dir is a repository root; false when dir/.git does not exist (design §5.2).
dir
false
dir/.git