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

Function LoadCurrentSession

src/common/pending_ops_journal.cpp:352–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352std::optional<Entry> LoadCurrentSession(uint32_t accountId, uint32_t appId) {
353 std::lock_guard<std::mutex> lock(g_mutex);
354 std::optional<Entry> currentSession;
355 LoadEntriesUnlocked(accountId, appId, &currentSession);
356 return currentSession;
357}
358
359bool HasPendingUpload(uint32_t accountId, uint32_t appId) {
360 std::lock_guard<std::mutex> lock(g_mutex);

Callers

nothing calls this directly

Calls 1

LoadEntriesUnlockedFunction · 0.85

Tested by

no test coverage detected