MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / setCopy

Method setCopy

packages/utils/src/cursor.ts:30–36  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

28 }
29
30 setCopy(flag: boolean) {
31 if (flag) {
32 this.addState('copy');
33 } else {
34 this.removeState('copy');
35 }
36 }
37
38 isCopy() {
39 return this.states.has('copy');

Callers 2

setCopyStateMethod · 0.80
setCopyStateMethod · 0.80

Calls 2

addStateMethod · 0.95
removeStateMethod · 0.95

Tested by

no test coverage detected