MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / UndoLog_CreateEdge

Function UndoLog_CreateEdge

src/undo_log/undo_log.c:366–379  ·  view source on GitHub ↗

undo edge creation

Source from the content-addressed store, hash-verified

364
365// undo edge creation
366void UndoLog_CreateEdge
367(
368 UndoLog log, // undo log
369 Edge *edge // edge created
370) {
371 ASSERT(log != NULL);
372
373 UndoOp op;
374
375 op.type = UNDO_CREATE_EDGE;
376 op.create_op.e = *edge;
377
378 UNDOLOG_ADD_OP(log, op);
379}
380
381// undo node deletion
382void UndoLog_DeleteNode

Callers 1

CreateEdgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected