18 std::string
GetMD5(
const std::string& file_path);
30 const std::string& md5,
31 const std::string& download_dir);
45 const std::string& md5,
46 const std::string& download_dir);
std::string DownloadFromMirrors(const std::vector< std::string > &mirrors, const std::string &md5, const std::string &download_dir)
Download a file from list of mirror URLs. If a file already exists and the MD5 hash matches,...
Definition: Download.cpp:159
std::string DownloadFromURL(const std::string &url, const std::string &md5, const std::string &download_dir)
Download a file from URL. If a file already exists and the MD5 hash matches, the download will be ski...
Definition: Download.cpp:88
std::string GetMD5(const std::string &file_path)
Computes MD5 Hash for the given file.
Definition: Download.cpp:45
Definition: PinholeCameraIntrinsic.cpp:16