style: cargo fmt --all

This commit is contained in:
Dionisio
2026-03-03 01:49:18 +01:00
parent 1df52fd702
commit efcf88c4d7
29 changed files with 2754 additions and 2732 deletions
+9 -3
View File
@@ -138,7 +138,9 @@ impl BatchOperationService {
let target_folder = target_folder.clone();
async move {
let copy_result = mgmt.copy_file(&file_id, target_folder.map(|s| s.to_string())).await;
let copy_result = mgmt
.copy_file(&file_id, target_folder.map(|s| s.to_string()))
.await;
(file_id, copy_result)
}
}))
@@ -201,7 +203,9 @@ impl BatchOperationService {
let target_folder = target_folder.clone();
async move {
let move_result = mgmt.move_file(&file_id, target_folder.map(|s| s.to_string())).await;
let move_result = mgmt
.move_file(&file_id, target_folder.map(|s| s.to_string()))
.await;
(file_id, move_result)
}
}))
@@ -578,7 +582,9 @@ impl BatchOperationService {
let caller = caller.clone();
async move {
let dto = MoveFolderDto { parent_id: target.map(|s| s.to_string()) };
let dto = MoveFolderDto {
parent_id: target.map(|s| s.to_string()),
};
let move_result = folder_service.move_folder(&folder_id, dto, &caller).await;
(folder_id, move_result)
}