MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / SetProgress

Method SetProgress

pkg/task/task.go:44–46  ·  view source on GitHub ↗
(percentage float64)

Source from the content-addressed store, hash-verified

42}
43
44func (t *Task[K]) SetProgress(percentage float64) {
45 t.progress = percentage
46}
47
48func (t Task[K]) GetProgress() float64 {
49 return t.progress

Callers 3

runMethod · 0.95
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected