game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
anonymous_namespace{cloud_save_service.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::string formatTime (std::chrono::system_clock::time_point tp)
std::string generateUUID ()
std::filesystem::path getDataDirectory ()
std::chrono::system_clock::time_point getFileModTime (const std::filesystem::path &path)
int64_t getFileSize (const std::filesystem::path &path)
std::vector< std::filesystem::path > globFiles (const std::filesystem::path &root, const std::string &pattern)

Function Documentation

◆ createDirectories()

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

Definition at line 36 of file cloud_save_service.cpp.

◆ fileExists()

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

Definition at line 30 of file cloud_save_service.cpp.

Referenced by globFiles().

◆ formatBytes()

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

Definition at line 64 of file cloud_save_service.cpp.

◆ formatTime()

std::string anonymous_namespace{cloud_save_service.cpp}::formatTime ( std::chrono::system_clock::time_point tp)

Definition at line 81 of file cloud_save_service.cpp.

◆ generateUUID()

std::string anonymous_namespace{cloud_save_service.cpp}::generateUUID ( )

Definition at line 91 of file cloud_save_service.cpp.

◆ getDataDirectory()

std::filesystem::path anonymous_namespace{cloud_save_service.cpp}::getDataDirectory ( )

Definition at line 120 of file cloud_save_service.cpp.

◆ getFileModTime()

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

Definition at line 50 of file cloud_save_service.cpp.

◆ getFileSize()

int64_t anonymous_namespace{cloud_save_service.cpp}::getFileSize ( const std::filesystem::path & path)

Definition at line 43 of file cloud_save_service.cpp.

◆ globFiles()

std::vector< std::filesystem::path > anonymous_namespace{cloud_save_service.cpp}::globFiles ( const std::filesystem::path & root,
const std::string & pattern )

Definition at line 130 of file cloud_save_service.cpp.

References fileExists().