MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / markAsNotDeleted

Method markAsNotDeleted

src/shared/test/test_model.ts:257–262  ·  view source on GitHub ↗
(node: TreeNode | undefined)

Source from the content-addressed store, hash-verified

255
256 // Marks a node and all of its parents as not-deleted so they will not be cleaned up.
257 private markAsNotDeleted(node: TreeNode | undefined) {
258 while (node) {
259 node.isPotentiallyDeleted = false;
260 node = node.parent;
261 }
262 }
263
264 public removeAllPotentiallyDeletedNodes(suite: SuiteData) {
265 // Delete nodes that were marked as potentially deleted and then never updated.

Callers 2

groupDiscoveredMethod · 0.95
testDiscoveredMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected