io.hawt.git.GitFileManager Maven / Gradle / Ivy
package io.hawt.git;
import io.hawt.util.Function;
import org.eclipse.jgit.api.errors.GitAPIException;
import java.io.File;
import java.io.IOException;
public interface GitFileManager {
T readFile(String branch, String pathOrEmpty, Function callback) throws IOException, GitAPIException;
T writeFile(String branch, String pathOrEmpty, WriteCallback callback) throws IOException, GitAPIException;
}