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

Method OnSucceeded

internal/fs/put.go:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (t *UploadTask) OnSucceeded() {
46 task_group.TransferCoordinator.Done(context.WithoutCancel(t.Ctx()), stdpath.Join(t.storage.GetStorage().MountPath, t.dstDirActualPath), true)
47}
48
49func (t *UploadTask) OnFailed() {
50 task_group.TransferCoordinator.Done(context.WithoutCancel(t.Ctx()), stdpath.Join(t.storage.GetStorage().MountPath, t.dstDirActualPath), false)

Callers

nothing calls this directly

Calls 2

GetStorageMethod · 0.65
DoneMethod · 0.45

Tested by

no test coverage detected