feat: add replace mode.

master
DebuggerX 4 years ago
parent f19ed28baa
commit 197d588db5

@ -142,8 +142,10 @@ void walkPath(FileSystemEntity path) {
state = STATE.notMatch; state = STATE.notMatch;
} }
if (isReplace) { if (isReplace) {
if (state == STATE.caching) if (state == STATE.caching) {
tempOperations.forEach((ele) => ele.commented = true); tempOperations.forEach((ele) => ele.commented = true);
currentTempOperations.forEach((ele) => ele.commented = true);
}
tempOperations.addAll(currentTempOperations); tempOperations.addAll(currentTempOperations);
currentTempOperations.clear(); currentTempOperations.clear();
} }

Loading…
Cancel
Save