mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-04-08 05:08:13 +08:00
heads文件操作
This commit is contained in:
@@ -5,7 +5,7 @@ use std::{fs, io};
|
||||
pub const ROOT_DIR: &str = ".mit";
|
||||
pub const TEST_DIR: &str = "mit_test_storage"; // 执行测试的储存库
|
||||
|
||||
pub fn setup_test_dir() {
|
||||
fn setup_test_dir() {
|
||||
let path = std::env::var("CARGO_MANIFEST_DIR").unwrap();
|
||||
let mut path = PathBuf::from(path);
|
||||
path.push(TEST_DIR);
|
||||
|
||||
Reference in New Issue
Block a user