| 350 | } |
| 351 | |
| 352 | std::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, ¤tSession); |
| 356 | return currentSession; |
| 357 | } |
| 358 | |
| 359 | bool HasPendingUpload(uint32_t accountId, uint32_t appId) { |
| 360 | std::lock_guard<std::mutex> lock(g_mutex); |
nothing calls this directly
no test coverage detected