@Override public void open(String path) { this.jgit = new JGitRepository(); jgit.open(path); git = jgit.getGit(); vmBranch = "vm"; }
public void close() { jgit.close(); }
@Override public List<String> getRepositoryFiles(String hash) { return jgit.getRepositoryFiles(hash); }
@Override public List<File> getCommitedFiles(Commit commitDB) { return jgit.getCommitedFiles(commitDB); }
@Override public String getSource(String commitName, String filePath) { return jgit.getSource(commitName, filePath); }
@Override public List<Commit> getCommitsByTree(String treeName, TreeType type) { return jgit.getCommitsByTree(treeName, type); }
@Override public List<Commit> getCommits() { return jgit.getCommits(); }
@Override public List<Tree> getTrees() { return jgit.getTrees(); }
@Override public String getAbsolutePath() { return jgit.getAbsolutePath(); }