11 lines
334 B
Java
11 lines
334 B
Java
package io.gitlab.jfronny.resclone.api;
|
|
|
|
import java.nio.file.Path;
|
|
|
|
public interface PackFetcher {
|
|
Result get(String baseUrl, Path targetDir, boolean forceDownload) throws Exception;
|
|
String getSourceTypeName(); // The name for users to specify in the config
|
|
|
|
record Result(Path downloadPath, boolean freshDownload) { }
|
|
}
|