Go to the source code of this file.
|
| std::string | pulp::format::reload::url_query_escape (std::string_view s) |
| | Percent-encode a query value (RFC 3986 unreserved kept; everything else escaped), so a plugin id / channel with odd characters cannot break out of the query.
|
| std::string | pulp::format::reload::build_update_check_url (const std::string &base_url, const std::string &plugin_id, const std::string &channel, std::uint64_t installed_version) |
| | The privacy-preserving update-check URL: base + only (plugin, channel, installed version).
|
| bool | pulp::format::reload::is_safe_pack_member_path (const std::string &p) |
| | True only if p is safe to join onto a download directory, per runtime::is_safe_relative_path (no rooted form, no ..).
|
| RemoteFetchResult | pulp::format::reload::check_and_fetch_remote_ux_update (const RemoteUpdateConfig &cfg, bool srl_fresh, const SignedRevocationList *srl) |
| | Orchestrate one opt-in remote-update check.
|
| std::function< FetchedPack(const std::string &)> | pulp::format::reload::make_http_pack_fetcher (std::string files_base_url, std::filesystem::path download_dir, int timeout_seconds=20) |
| | Convenience default transport over runtime::http_*: GET the manifest, then download each declared file from <files_base_url>/<relative path> into download_dir.
|