All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.oliviercailloux.grade.GitFileSystemWithHistoryFetcher Maven / Gradle / Ivy

The newest version!
package io.github.oliviercailloux.grade;

import com.google.common.collect.ImmutableSet;
import io.github.oliviercailloux.git.filter.GitHistorySimple;
import io.github.oliviercailloux.git.github.model.GitHubUsername;
import java.io.IOException;

public interface GitFileSystemWithHistoryFetcher extends AutoCloseable {

  public ImmutableSet getAuthors();

  /**
   * Retrieves the instance corresponding to the given author, closes any previously retrieved one.
   *
   * @param author the author whose git file system history must be retrieved
   * @return the instance corresponding to the given author
   */
  public GitHistorySimple goToFs(GitHubUsername author) throws IOException;

  @Override
  void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy