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