diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-01 08:27:59 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-01 08:28:29 +0800 |
| commit | b77f8b5090731ad0e30af0726dcddb67527246b4 (patch) | |
| tree | 0cf7aa16f6fe91523f3dfa1ea7d5506bc5c5745b /crates/vcs_data/src/current.rs | |
| parent | f5b84736e0333c0be3ef52c6324e8c59777df32a (diff) | |
Update current.rs
Diffstat (limited to 'crates/vcs_data/src/current.rs')
| -rw-r--r-- | crates/vcs_data/src/current.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/vcs_data/src/current.rs b/crates/vcs_data/src/current.rs index 1b3df46..0a225d2 100644 --- a/crates/vcs_data/src/current.rs +++ b/crates/vcs_data/src/current.rs @@ -72,7 +72,7 @@ pub fn find_local_path(path: impl Into<PathBuf>) -> Option<PathBuf> { None } -/// Get the system's document directory and join with .just_enough_vcs -pub fn current_doc_dir() -> Option<PathBuf> { +/// Get the system's document directory and join with jvcs +pub fn current_cfg_dir() -> Option<PathBuf> { dirs::config_local_dir().map(|path| path.join("jvcs")) } |
