addonscript-java/src/main/java/ley/anvil/addonscript/util/IRepository.java
2020-06-01 16:24:27 +02:00

16 lines
314 B
Java

package ley.anvil.addonscript.util;
/**
* Interface for all repository types
*/
public interface IRepository {
/**
* Gets the file URL from an artifact
* @param artifact The artifact without the repo ID prefix
* @return The URL of the file
*/
String getFileURL(String artifact);
}