RepositoryManager

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun addRepository(repository: RepositoryData)
Link copied to clipboard
Link copied to clipboard
suspend fun downloadPluginToFile(pluginUrl: String, file: File): File?
Link copied to clipboard
suspend fun getRepoPlugins(repositoryUrl: String): List<Pair<String, SitePlugin>>?

Gets all plugins from repositories and pairs them with the repository url

Link copied to clipboard
Link copied to clipboard
suspend fun parseRepository(url: String): Repository?
Link copied to clipboard
suspend fun parseRepoUrl(url: String): String?
Link copied to clipboard
suspend fun removeRepository(context: Context, repository: RepositoryData)

Also deletes downloaded repository plugins