From 532b958610c4218c587cd77bd9c1b06a04ba68b5 Mon Sep 17 00:00:00 2001 From: zengge99 <83830807+zengge99@users.noreply.github.com> Date: Mon, 17 Jun 2024 15:47:44 +0800 Subject: [PATCH] Update driver.go --- drivers/quark_share/driver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/quark_share/driver.go b/drivers/quark_share/driver.go index 78451e84b95..85ee47f5712 100644 --- a/drivers/quark_share/driver.go +++ b/drivers/quark_share/driver.go @@ -126,6 +126,7 @@ func (d *QuarkShare) Remove(ctx context.Context, obj model.Obj) error { } func (d *QuarkShare) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error { + /* tempFile, err := stream.CacheFullInTempFile() if err != nil { return err @@ -207,6 +208,8 @@ func (d *QuarkShare) Put(ctx context.Context, dstDir model.Obj, stream model.Fil return err } return d.upFinish(pre) + */ + return nil } var _ driver.Driver = (*QuarkShare)(nil)