Fall back to data_files if http://mdreplay or download cache are not available.
This commit is contained in:
1 parent
cf432a82a0
commit
e234a76199
6 files changed
+38
-11
No files matched your search
@@ -65,6 +65,7 @@ HTTPStream::HTTPStream(const std::string& host, const std::string& path, const s
|
||||
HTTPStream::~HTTPStream() { }
|
||||
|
||||
|
||||
// returns true if file was downloaded
|
||||
bool download_file_if_newer(const string& host, const string& path, const string& destination) {
|
||||
struct stat st = boost::initialized_value;
|
||||
stat(destination.c_str(), &st);
|
||||
|
||||
Reference in new issue
Block a user