/** * Number of lines added. */ public int getLinesAdded() throws IOException { populate(); return stats.additions; }
/** * Number of lines removed. */ public int getLinesDeleted() throws IOException { populate(); return stats.deletions; }
/** * Number of lines added + removed. */ public int getLinesChanged() throws IOException { populate(); return stats.total; }
/** * Number of lines added + removed. */ public int getLinesChanged() throws IOException { populate(); return stats.total; }
public ShortInfo getCommitShortInfo() throws IOException { if (commit==null) populate(); return commit; }
/** * Number of lines added. */ public int getLinesAdded() throws IOException { populate(); return stats.additions; }
public ShortInfo getCommitShortInfo() throws IOException { if (commit==null) populate(); return commit; }
/** * Number of lines removed. */ public int getLinesDeleted() throws IOException { populate(); return stats.deletions; }
/** * List of files changed/added/removed in this commit. * * @return * Can be empty but never null. */ public List<File> getFiles() throws IOException { populate(); return files!=null ? Collections.unmodifiableList(files) : Collections.<File>emptyList(); }
/** * List of files changed/added/removed in this commit. * * @return * Can be empty but never null. */ public List<File> getFiles() throws IOException { populate(); return files!=null ? Collections.unmodifiableList(files) : Collections.<File>emptyList(); }