eckit::geo::cache::Download class final

Base classes

class CacheRoot

Public types

struct info_type
using url_type = std::string

Public static functions

static auto to_path(const url_type&, const PathName&, bool html = false) -> info_type
static auto url_file_basename(const url_type&, bool ext = true) -> std::string
static auto url_file_extension(const url_type&) -> std::string

Constructors, destructors, conversion operators

Download(const PathName& root = ".", bool html = false) explicit

Public functions

auto to_cached_path(const url_type&, const std::string& prefix = "", const std::string& suffix = ".download") const -> PathName
void rm_cache_root() const
auto cache_root() const -> const PathName&

Function documentation

void eckit::geo::cache::Download::rm_cache_root() const

const PathName& eckit::geo::cache::Download::cache_root() const

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.