feat: rename file only when storagePath exists

This commit is contained in:
krau
2025-06-11 09:54:08 +08:00
parent 9d3a3a8dcd
commit e85d3c9441
8 changed files with 59 additions and 19 deletions

View File

@@ -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
}