| 105 | } |
| 106 | |
| 107 | static bool HasQueuedDeleteForPathLocked(const std::string& path) { |
| 108 | for (const auto& queued : g_workQueue) { |
| 109 | if (queued.type == WorkItem::Delete && queued.cloudPath == path) return true; |
| 110 | } |
| 111 | return false; |
| 112 | } |
| 113 | |
| 114 | static bool HasDeleteBarrierForPathLocked(const std::string& path) { |
| 115 | return HasQueuedDeleteForPathLocked(path) || g_activeDeletes.count(path) != 0; |
no outgoing calls
no test coverage detected