完善Index::save逻辑

This commit is contained in:
mrbeanc
2023-12-20 18:29:48 +08:00
parent ffac740f97
commit 16ee60339d
2 changed files with 17 additions and 14 deletions

View File

@@ -59,6 +59,7 @@ pub fn check_repo_exist() {
}
}
/// 获取.mit目录路径
pub fn get_storage_path() -> Result<PathBuf, io::Error> {
/*递归获取储存库 */
let mut current_dir = std::env::current_dir()?;