MCPcopy Index your code
hub / github.com/ShiftLeftSecurity/overflowdb / removeImpl

Method removeImpl

core/src/main/java/overflowdb/NodeDb.java:169–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167 protected abstract void removeSpecificProperty(String key);
168
169 @Override
170 protected void removeImpl() {
171 final List<Edge> edges = new ArrayList<>();
172 bothE().forEachRemaining(edges::add);
173 for (Edge edge : edges) {
174 if (!edge.isRemoved()) {
175 edge.remove();
176 }
177 }
178
179 ref.graph.remove(this);
180
181 /* marking as dirty *after* we updated - if node gets serialized before we finish, it'll be marked as dirty */
182 this.markAsDirty();
183 }
184
185 public void markAsDirty() {
186 this.dirty = true;

Callers

nothing calls this directly

Calls 4

bothEMethod · 0.95
markAsDirtyMethod · 0.95
isRemovedMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected