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

Function HasFailedWorkForPrefix

src/common/cloud_work_queue.cpp:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192static bool HasFailedWorkForPrefix(const std::string& prefix) {
193 for (const auto& path : g_failedPaths) {
194 if (path.rfind(prefix, 0) == 0) return true;
195 }
196 return false;
197}
198
199// Like HasFailedWorkForPrefix but ignores bestEffort items.
200static bool HasFailedCommitWorkForPrefix(const std::string& prefix) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected