mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-30 16:18:11 +08:00
Feat: support apply append mode and overwrite mode for FileStream
This commit is contained in:
@ -151,6 +151,7 @@ func HookCleanFileContent(ctx context.Context, fs *FileSystem, file fsctx.FileHe
|
||||
File: ioutil.NopCloser(strings.NewReader("")),
|
||||
SavePath: file.Info().SavePath,
|
||||
Size: 0,
|
||||
Model: fsctx.Overwrite,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user