Class DiffRequest<T>

java.lang.Object
com.linecorp.centraldogma.client.DiffRequest<T>

public final class DiffRequest<T>
extends Object
Prepares to send a CentralDogma.getDiff(String, String, Revision, Revision, Query) request to the Central Dogma repository.
  • Method Details

    • get

      public CompletableFuture<Change<T>> get​(Revision from, Revision to)
      Queries a file at two different revisions and returns the diff of the two Query results.
      Returns:
      the Change that contains the diff of the file matched by the given query between the specified two revisions