Package com.jcabi.github
Interface CommitsComparison
-
- All Superinterfaces:
JsonReadable
- All Known Implementing Classes:
CommitsComparison.Smart
@Immutable public interface CommitsComparison extends JsonReadable
Commits comparison.- Version:
- $Id: 8fde2d8a58d33811d022c29e424a2307582c8f49 $
- Author:
- Alexander Sinyagin (sinyagin.alexander@gmail.com)
- See Also:
- Compare two commits
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CommitsComparison.Smart
Smart commits comparison with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<FileChange>
files()
Iterate over the file changes between the two commits being compared.Repo
repo()
Get a parent repository of commits.-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
repo
Repo repo()
Get a parent repository of commits.- Returns:
- Repository
-
files
Iterable<FileChange> files() throws IOException
Iterate over the file changes between the two commits being compared.- Returns:
- Iterable of file changes
- Throws:
IOException
- If there is any I/O problem
-
-