MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / getCacheDirName

Function getCacheDirName

src/game/DirectoryNames.cpp:166–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166std::string getCacheDirName() {
167 std::string name = getConfigDirName();
168 name += "cache";
169#if !defined (_WIN32) && !defined (__APPLE__)
170 // add in hostname on UNIX
171 // FIXME should be able to share the cache
172 if (getenv("HOST")) {
173 name += ".";
174 name += getenv("HOST");
175 }
176#endif
177 name += BZ_DIRECTORY_SEPARATOR;
178 return name;
179}
180
181
182std::string getRecordDirName() {

Callers 10

getCacheFilenameMethod · 0.85
setupVFSFunction · 0.85
cleanCacheMethod · 0.85
isCachedMethod · 0.85
startPlayingFunction · 0.85
getCacheFilenameMethod · 0.85
setupVFSFunction · 0.85
createCacheSignatureFunction · 0.85
readSoundMethod · 0.85
createCacheSignatureFunction · 0.85

Calls 1

getConfigDirNameFunction · 0.85

Tested by

no test coverage detected