MCPcopy Create free account
hub / github.com/echoVic/blade-code / update

Method update

src/ui/components/Progress.ts:287–290  ·  view source on GitHub ↗

* 更新进度

(value: number)

Source from the content-addressed store, hash-verified

285 * 更新进度
286 */
287 public update(value: number): void {
288 this.current = Math.min(value, this.total);
289 this.render();
290 }
291
292 /**
293 * 增加进度

Callers 3

incrementMethod · 0.95
completeMethod · 0.95
hashContextMethod · 0.80

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected