chore: support skip gc (#4926)

* chore: support skip gc

* chore: fix test
This commit is contained in:
Nathan.fooo
2024-03-20 14:34:50 +08:00
committed by GitHub
parent 822d62b562
commit d19fa5a34a
18 changed files with 164 additions and 150 deletions

View File

@ -122,7 +122,8 @@ pub async fn print_encryption_folder_snapshot(
.pop()
.unwrap();
let collab = Arc::new(
MutexCollab::new_with_doc_state(CollabOrigin::Empty, folder_id, snapshot.blob, vec![]).unwrap(),
MutexCollab::new_with_doc_state(CollabOrigin::Empty, folder_id, snapshot.blob, vec![], false)
.unwrap(),
);
let folder_data = Folder::open(uid, collab, None)
.unwrap()