| 116 | } |
| 117 | |
| 118 | static void ClearActiveDeleteLocked(const std::string& path) { |
| 119 | auto it = g_activeDeletes.find(path); |
| 120 | if (it != g_activeDeletes.end() && --it->second <= 0) g_activeDeletes.erase(it); |
| 121 | } |
| 122 | |
| 123 | static void ClearActiveBestEffortLocked(const std::string& path) { |
| 124 | auto it = g_activeBestEffortPaths.find(path); |