diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-25 15:24:18 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-25 15:24:18 +0800 |
| commit | fcbd18c4b7d90388a9a2b9e28555d2526727958c (patch) | |
| tree | 0de680895d6a162a99356d6e4d733942a339275e /legacy_data/src/data/local/workspace_analyzer.rs | |
| parent | 8b96e8171c4e9d6516fd63d37cbe613bd5927a04 (diff) | |
Replace string_proc with just_fmt as external dependency
Diffstat (limited to 'legacy_data/src/data/local/workspace_analyzer.rs')
| -rw-r--r-- | legacy_data/src/data/local/workspace_analyzer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy_data/src/data/local/workspace_analyzer.rs b/legacy_data/src/data/local/workspace_analyzer.rs index 5d73e03..82cd4e0 100644 --- a/legacy_data/src/data/local/workspace_analyzer.rs +++ b/legacy_data/src/data/local/workspace_analyzer.rs @@ -4,9 +4,9 @@ use std::{ path::PathBuf, }; +use just_fmt::fmt_path::fmt_path; use serde::Serialize; use sha1_hash::calc_sha1_multi; -use string_proc::format_path::format_path; use walkdir::WalkDir; use crate::data::{ @@ -116,7 +116,7 @@ impl<'a> AnalyzeResult<'a> { if entry.file_type().is_file() && let Ok(relative_path) = entry.path().strip_prefix(local_path) { - let format = format_path(relative_path.to_path_buf()); + let format = fmt_path(relative_path.to_path_buf()); let Ok(format) = format else { continue; }; |
