Interface CommitsComparison

All Superinterfaces:
JsonReadable
All Known Implementing Classes:
CommitsComparison.Smart

@Immutable public interface CommitsComparison extends JsonReadable
Commits comparison.
Since:
0.5
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Smart commits comparison with extra features.
  • Method Summary

    Modifier and Type
    Method
    Description
    Iterate over the file changes between the two commits being compared.
    Get a parent repository of commits.

    Methods inherited from interface com.jcabi.github.JsonReadable

    json
  • Method Details

    • repo

      Repo repo()
      Get a parent repository of commits.
      Returns:
      Repository
    • files

      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