MCPcopy Create free account
hub / github.com/NetEase/tango / constructor

Method constructor

packages/core/src/models/select-source.ts:77–94  ·  view source on GitHub ↗
(workspace: IWorkspace)

Source from the content-addressed store, hash-verified

75 }
76
77 constructor(workspace: IWorkspace) {
78 this.workspace = workspace;
79 makeObservable(this, {
80 _items: observable,
81 _start: observable,
82 select: action,
83 setStart: action,
84 clear: action,
85 start: computed,
86 selected: computed,
87 first: computed,
88 firstNode: computed,
89 size: computed,
90 isSelected: computed,
91 file: computed,
92 nodes: computed,
93 });
94 }
95
96 // 增加一个选中项
97 add() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected