mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-17 14:22:37 -06:00
19 lines
No EOL
262 B
C++
19 lines
No EOL
262 B
C++
#include "Core.h"
|
|
|
|
String CacheDir()
|
|
{
|
|
#ifdef PLATFORM_WIN32
|
|
return ConfigFile("cache");
|
|
#else
|
|
return ConfigFile(".cache/upp.cache");
|
|
#endif
|
|
}
|
|
|
|
String CacheFile(const char *name)
|
|
{
|
|
return AppendFileName(CacheDir(), name);
|
|
}
|
|
|
|
void ReduceCache(int mb_limit)
|
|
{
|
|
} |