MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / getPendingEdits

Method getPendingEdits

context/ChangesManager.cpp:285–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285QList<ChangesManager::FileEdit> ChangesManager::getPendingEdits() const
286{
287 QMutexLocker locker(&m_mutex);
288
289 QList<FileEdit> pendingEdits;
290 for (const auto &edit : m_fileEdits.values()) {
291 if (edit.status == Pending) {
292 pendingEdits.append(edit);
293 }
294 }
295 return pendingEdits;
296}
297
298bool ChangesManager::performFileEdit(
299 const QString &filePath, const QString &oldContent, const QString &newContent, QString *errorMsg)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected