MCPcopy Create free account
hub / github.com/DTStack/molecule / reset

Method reset

src/services/problemsService.ts:146–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 public reset(): void {
147 const { builtInStatusProblems } = this.builtinService.getModules();
148 this.setState({
149 ...this.state,
150 data: [],
151 });
152 if (builtInStatusProblems) {
153 this.updateStatus(builtInStatusProblems);
154 }
155 }
156
157 public onSelect(callback: (node: IProblemsTreeNode) => void) {
158 this.subscribe(ProblemsEvent.onSelect, callback);

Callers

nothing calls this directly

Calls 3

updateStatusMethod · 0.95
setStateMethod · 0.80
getModulesMethod · 0.65

Tested by

no test coverage detected