public Repository build() throws IOException {FileRepository repo = new FileRepository(setup());if (isMustExist() && !repo.getObjectDatabase().exists())throw new RepositoryNotFoundException(getGitDir());return repo;}
public override FileRepository Build(){FileRepository repo = new FileRepository(Setup());if (IsMustExist() && !((ObjectDirectory)repo.ObjectDatabase).Exists()){throw new RepositoryNotFoundException(GetGitDir());}return repo;}