56 file_abspath,
sizeof(file_abspath), library_root_path_.c_str(), relative_file_path.
c_str());
66 CLOG_WARN(&
LOG,
"Asset file hash not in METHOD:HASH format: %s", hash_with_method.
c_str());
69 std::string hash_algorithm = hash_with_method.
substr(0, colon_index);
75 const bool is_match = dfhs_->file_matches(
76 file_abspath, hash_algorithm, hexhash, file_to_check.
size_in_bytes);
78 return this->remember(file_to_check,
std::optional< asset_system::RemoteAssetFileStatus > file_status
asset_system::URLWithHash download_url