game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
anonymous_namespace{shader_cache_manager.cpp} Namespace Reference

Functions

bool createDirectories (const std::filesystem::path &path)
bool fileExists (const std::filesystem::path &path)
std::string formatBytes (int64_t bytes)
std::filesystem::path getHomeDir ()
std::chrono::system_clock::time_point getModTime (const std::filesystem::path &path)
std::filesystem::path getXDGCacheHome ()
std::filesystem::path getXDGDataHome ()
bool isDirectory (const std::filesystem::path &path)

Function Documentation

◆ createDirectories()

bool anonymous_namespace{shader_cache_manager.cpp}::createDirectories ( const std::filesystem::path & path)

Definition at line 35 of file shader_cache_manager.cpp.

◆ fileExists()

bool anonymous_namespace{shader_cache_manager.cpp}::fileExists ( const std::filesystem::path & path)

Definition at line 23 of file shader_cache_manager.cpp.

◆ formatBytes()

std::string anonymous_namespace{shader_cache_manager.cpp}::formatBytes ( int64_t bytes)

Definition at line 72 of file shader_cache_manager.cpp.

◆ getHomeDir()

std::filesystem::path anonymous_namespace{shader_cache_manager.cpp}::getHomeDir ( )

Definition at line 42 of file shader_cache_manager.cpp.

Referenced by getXDGCacheHome(), and getXDGDataHome().

◆ getModTime()

std::chrono::system_clock::time_point anonymous_namespace{shader_cache_manager.cpp}::getModTime ( const std::filesystem::path & path)

Definition at line 89 of file shader_cache_manager.cpp.

◆ getXDGCacheHome()

std::filesystem::path anonymous_namespace{shader_cache_manager.cpp}::getXDGCacheHome ( )

Definition at line 52 of file shader_cache_manager.cpp.

References getHomeDir().

◆ getXDGDataHome()

std::filesystem::path anonymous_namespace{shader_cache_manager.cpp}::getXDGDataHome ( )

Definition at line 62 of file shader_cache_manager.cpp.

References getHomeDir().

◆ isDirectory()

bool anonymous_namespace{shader_cache_manager.cpp}::isDirectory ( const std::filesystem::path & path)

Definition at line 29 of file shader_cache_manager.cpp.