feat(drive): complete updated_by created_by

This commit is contained in:
Edouard Vanbelle
2026-06-19 10:51:13 +02:00
parent 06116dc6e7
commit e7f4826778
34 changed files with 987 additions and 230 deletions
+18 -4
View File
@@ -235,10 +235,24 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.await?;
let admin_root_id = admin_root.0;
let shared_subtree =
build_subtree(&pool, admin.id, admin_root_id, "shared_root", args.depth, args.fanout).await?;
let group_subtree =
build_subtree(&pool, admin.id, admin_root_id, "group_root", args.depth, args.fanout).await?;
let shared_subtree = build_subtree(
&pool,
admin.id,
admin_root_id,
"shared_root",
args.depth,
args.fanout,
)
.await?;
let group_subtree = build_subtree(
&pool,
admin.id,
admin_root_id,
"group_root",
args.depth,
args.fanout,
)
.await?;
let total_folders = shared_subtree.all_ids.len() as u64 + group_subtree.all_ids.len() as u64;
let total_leaves = shared_subtree.leaves.len() + group_subtree.leaves.len();