diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-06 04:11:58 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-06 04:11:58 +0800 |
| commit | ee7cba690582b9c47e8c856bf0bd331eedda7908 (patch) | |
| tree | 21218393cd14b4465296b15ad999fc89be97757c /crates/vcs/vcs_test/src/lib.rs | |
| parent | 03a5ff8a1629cde933120faf47963fcb59118261 (diff) | |
Remove old vcs directory after migration to vcs_data
- Delete entire crates/vcs directory and its contents
- Remove test files and configuration from old structure
- Complete transition to new vcs_data and vcs_actions architecture
Diffstat (limited to 'crates/vcs/vcs_test/src/lib.rs')
| -rw-r--r-- | crates/vcs/vcs_test/src/lib.rs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/crates/vcs/vcs_test/src/lib.rs b/crates/vcs/vcs_test/src/lib.rs deleted file mode 100644 index 8ad03e1..0000000 --- a/crates/vcs/vcs_test/src/lib.rs +++ /dev/null @@ -1,27 +0,0 @@ -use std::{env::current_dir, path::PathBuf}; - -use tokio::fs; - -#[cfg(test)] -pub mod test_vault_setup_and_member_register; - -#[cfg(test)] -pub mod test_virtual_file_creation_and_update; - -#[cfg(test)] -pub mod test_local_workspace_setup_and_account_management; - -#[cfg(test)] -pub mod test_sheet_creation_management_and_persistence; - -pub async fn get_test_dir(area: &str) -> Result<PathBuf, std::io::Error> { - let dir = current_dir()?.join(".temp").join("test").join(area); - if !dir.exists() { - std::fs::create_dir_all(&dir)?; - } else { - // Regenerate existing directory - fs::remove_dir_all(&dir).await?; - fs::create_dir_all(&dir).await?; - } - Ok(dir) -} |
