Skip to content

Commit

Permalink
fixup! Partial #8591: Add function to remove device and associated data
Browse files Browse the repository at this point in the history
  • Loading branch information
FirelightFlagboy committed Oct 3, 2024
1 parent a8ad72a commit fe003bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libparsec/crates/client/src/device/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

use libparsec_types::{anyhow, thiserror, AvailableDevice};

use crate::ClientConfig;
Expand Down
2 changes: 2 additions & 0 deletions libparsec/crates/platform_storage/src/native/cleanup.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

use std::path::Path;

use libparsec_types::{anyhow, DeviceID};
Expand Down
2 changes: 2 additions & 0 deletions libparsec/crates/platform_storage/src/web/cleanup.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

pub async fn remove_device_data(data_base_dir: &Path, device_id: &DeviceID) -> anyhow::Result<()> {
todo!()
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

use libparsec_tests_fixtures::prelude::{parsec_test, tmp_path, TestbedEnv, TmpPath};
use libparsec_types::VlobID;

Expand Down

0 comments on commit fe003bc

Please sign in to comment.