ASAPCabinetFE
 
Loading...
Searching...
No Matches
vpinmdb_downloader.h
Go to the documentation of this file.
1
8#ifndef VPINMDB_DOWNLOADER_H
9#define VPINMDB_DOWNLOADER_H
10
11#include "log/logging.h"
12#include <curl/curl.h>
13#include <filesystem>
14#include <string>
15
16namespace fs = std::filesystem;
17
18namespace vpinmdb {
19
26bool downloadFile(const std::string& url, const fs::path& destPath);
27
28} // namespace vpinmdb
29
30#endif // VPINMDB_DOWNLOADER_H
bool downloadFile(const std::string &url, const fs::path &destPath)
Downloads a single file using libcurl.
Definition vpinmdb_downloader.cpp:20