feat: add replace mode.
This commit is contained in:
+3
-1
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user