MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / CheckForCache

Method CheckForCache

Source/Internal/cachefile.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#include <Internal/filesystem.h>
28
29bool CacheFile::CheckForCache(const std::string &path, const std::string &suffix, std::string *load_path, uint16_t *checksum) {
30 ModID modsource;
31 return CheckForCache(path, suffix, load_path, &modsource, checksum);
32}
33
34bool CacheFile::CheckForCache(const std::string &path, const std::string &suffix, std::string *load_path, ModID *load_modsource, uint16_t *checksum) {
35 std::string cache_str = path + suffix;

Callers

nothing calls this directly

Calls 4

FindFilePathsFunction · 0.85
GetDateModifiedInt64Function · 0.85
ChecksumFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected