public Repository open(boolean mustExist) throws IOException {if (mustExist && !isGitRepository(path, fs))throw new RepositoryNotFoundException(path);return new FileRepository(path);}
public virtual Repository Open(bool mustExist){if (mustExist && !IsGitRepository(path, fs)){throw new RepositoryNotFoundException(path);}return new FileRepository(path);}