MCPcopy Create free account
hub / github.com/OpenMW/openmw / getCachePath

Method getCachePath

components/files/linuxpath.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 std::filesystem::path LinuxPath::getCachePath() const
68 {
69 return getEnv("XDG_CACHE_HOME", getUserHome() / ".cache") / mName;
70 }
71
72 std::filesystem::path LinuxPath::getGlobalConfigPath() const
73 {

Callers 2

FixedPathMethod · 0.45

Calls 2

getEnvFunction · 0.85
getUserHomeFunction · 0.70

Tested by

no test coverage detected