fix(189pc): transfer rename (#7958)

* fix(189pc): transfer rename

* fix: OverwriteUpload

* fix: change search method

* fix

* fix
This commit is contained in:
foxxorcat
2025-02-16 12:21:34 +08:00
committed by GitHub
parent 36b4204623
commit 399336b33c
4 changed files with 201 additions and 127 deletions

View File

@ -18,6 +18,7 @@ import (
"strings"
"time"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/pkg/utils/random"
)
@ -208,3 +209,12 @@ func IF[V any](o bool, t V, f V) V {
}
return f
}
type WrapFileStreamer struct {
model.FileStreamer
Name string
}
func (w *WrapFileStreamer) GetName() string {
return w.Name
}