Module repository

Source
Expand description

Module for dealing with the plugin repository

Structs§

PluginEntry
Struct to store the plugin version entries
PluginRepositoryIndex
Struct representing the plugin repository index file
PluginVersion
Struct to store the plugin versions

Enums§

ManifestSource
Source that the plugin is loaded from

Constants§

DEFAULT_INDEX
USER_AGENT

Functions§

calculate_sha
Calculates the SHA hash for a given repository file path
fetch_repository_index
Retrieves the latest repository index, first from GitHub, and if not able to, then any locally cached index, otherwise defaults to the version compiled into the library.
get_sha_file_for_repository_file
Returns the SHA file for a given repository file.
load_index_file
Loads the index file from the given path
load_sha
Loads the SHA for a given repository file