MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Progress

Method Progress

pkg/filemanager/workflows/import.go:213–217  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

211}
212
213func (m *ImportTask) Progress(ctx context.Context) queue.Progresses {
214 m.Lock()
215 defer m.Unlock()
216 return m.progress
217}
218
219func (m *ImportTask) Summarize(hasher hashid.Encoder) *queue.Summary {
220 // unmarshal state

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected