mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-06-14 20:10:10 +08:00
feat(FileExplorer): add move and copy functionality with task queuing
This commit is contained in:
@@ -108,6 +108,11 @@ class TaskQueueService:
|
||||
|
||||
result_path = await run_http_download(task)
|
||||
task.result = {"path": result_path}
|
||||
elif task.name == "cross_mount_transfer":
|
||||
from services.virtual_fs import run_cross_mount_transfer_task
|
||||
|
||||
result = await run_cross_mount_transfer_task(task)
|
||||
task.result = result
|
||||
else:
|
||||
raise ValueError(f"Unknown task name: {task.name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user