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

Function HasPendingWorkForPrefix

src/common/cloud_work_queue.cpp:187–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187bool HasPendingWorkForPrefix(const std::string& prefix) {
188 std::lock_guard<std::mutex> lock(g_queueMutex);
189 return HasPendingWorkForPrefixLocked(prefix);
190}
191
192static bool HasFailedWorkForPrefix(const std::string& prefix) {
193 for (const auto& path : g_failedPaths) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected