MCPcopy Index your code
hub / github.com/NVIDIA/aistore / reset

Method reset

downloader/task.go:216–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214}
215
216func (t *singleObjectTask) reset() {
217 t.totalSize.Store(0)
218 t.currentSize.Store(0)
219}
220
221func (t *singleObjectTask) downloadRemote(lom *cluster.LOM) error {
222 // Set custom context values (used by `ais/backend/*`).

Callers 1

downloadLocalMethod · 0.95

Calls 1

StoreMethod · 0.45

Tested by

no test coverage detected