Config transfer (#951)

* fixed config dir issue

* jackson's sync write
This commit is contained in:
Wyatt Verchere
2024-01-05 11:00:48 -08:00
committed by GitHub
parent 9702dae19d
commit 0d3f007dd4
5 changed files with 116 additions and 48 deletions

View File

@@ -301,7 +301,7 @@ pub async fn copy_dotminecraft(
#[theseus_macros::debug_pin]
#[async_recursion::async_recursion]
#[tracing::instrument]
async fn get_all_subfiles(src: &Path) -> crate::Result<Vec<PathBuf>> {
pub async fn get_all_subfiles(src: &Path) -> crate::Result<Vec<PathBuf>> {
if !src.is_dir() {
return Ok(vec![src.to_path_buf()]);
}