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

Functions

std::string buildTempSuffix ()
void cleanupTempFile (const std::filesystem::path &tmp)
bool fsyncParentDir (const std::filesystem::path &target)

Variables

std::atomic< uint64_t > g_atomicWriteCounter {0}

Function Documentation

◆ buildTempSuffix()

std::string core::anonymous_namespace{atomic_write.cpp}::buildTempSuffix ( )

Definition at line 38 of file atomic_write.cpp.

References buildTempSuffix(), and g_atomicWriteCounter.

Referenced by buildTempSuffix().

◆ cleanupTempFile()

void core::anonymous_namespace{atomic_write.cpp}::cleanupTempFile ( const std::filesystem::path & tmp)

Definition at line 111 of file atomic_write.cpp.

References cleanupTempFile(), and Logger::warn().

Referenced by cleanupTempFile().

◆ fsyncParentDir()

bool core::anonymous_namespace{atomic_write.cpp}::fsyncParentDir ( const std::filesystem::path & target)

Definition at line 73 of file atomic_write.cpp.

References fsyncParentDir(), and Logger::warn().

Referenced by fsyncParentDir().

Variable Documentation

◆ g_atomicWriteCounter

std::atomic<uint64_t> core::anonymous_namespace{atomic_write.cpp}::g_atomicWriteCounter {0}

Definition at line 36 of file atomic_write.cpp.

Referenced by buildTempSuffix().