std::function< bool(const std::string &step, double fraction)> ImportProgress
Reports import progress with a description and a fraction from 0 to 1.
Definition importer.h:27
std::optional< std::string > DownloadFile(const std::string &url, const std::filesystem::path &output, const ImportProgress &progress={})
Download an HTTPS URL to a file with the HTTP client of the operating system, following redirects.