MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / SetSteamPath

Function SetSteamPath

src/platform/linux/cloud_intercept.cpp:286–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void SetSteamPath(const std::string& path) {
287 std::lock_guard<std::mutex> lock(g_mutex);
288 g_steamPath = path;
289 if (!g_steamPath.empty() && g_steamPath.back() != '/')
290 g_steamPath += '/';
291}
292
293void Shutdown() {
294 int fd = g_watcherFd.exchange(-1, std::memory_order_acq_rel);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected