mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-12 00:29:42 +08:00
feat: rename file only when storagePath exists
This commit is contained in:
@@ -147,3 +147,8 @@ func (a *Alist) NotSupportStream() string {
|
||||
func (a *Alist) JoinStoragePath(task types.Task) string {
|
||||
return path.Join(a.config.BasePath, task.StoragePath)
|
||||
}
|
||||
|
||||
func (a *Alist) Exists(ctx context.Context, storagePath string) bool {
|
||||
// TODO: Implement it.
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user