MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / savePoint

Method savePoint

packages/designer/src/document/history.ts:156–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 savePoint() {
157 if (!this.session) {
158 return;
159 }
160 this.session.end();
161 this.point = this.session.cursor;
162 this.emitter.emit('statechange', this.getState());
163 }
164
165 /**
166 * | 1 | 1 | 1 |

Callers

nothing calls this directly

Calls 3

getStateMethod · 0.95
emitMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected