MCPcopy Create free account
hub / github.com/clientdb/clientdb / rollback

Function rollback

core/client.ts:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 entity: newEntity,
147 type: "created",
148 rollback() {
149 store.remove(newEntity.getId());
150 },
151 });
152 return newEntity;
153 });

Callers

nothing calls this directly

Calls 2

addMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected