mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-28 19:01:57 +08:00
Feat: support apply append mode and overwrite mode for FileStream
This commit is contained in:
@@ -308,7 +308,7 @@ func (fs *FileSystem) Decompress(ctx context.Context, src, dst string) error {
|
||||
Size: uint64(size),
|
||||
Name: path.Base(dst),
|
||||
VirtualPath: path.Dir(dst),
|
||||
Mode: fsctx.Create,
|
||||
Mode: 0,
|
||||
})
|
||||
fileStream.Close()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user