From e7b449ea3030d9923042419522ebe17329746884 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Nov 2025 20:30:29 +0800 Subject: Use config directory for jvcs data The data directory is changed from the system's document directory to the local config directory, and the folder name is shortened from ".just_enough_vcs" to "jvcs". --- crates/vcs_data/src/current.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/vcs_data/src/current.rs') diff --git a/crates/vcs_data/src/current.rs b/crates/vcs_data/src/current.rs index 97b5058..1b3df46 100644 --- a/crates/vcs_data/src/current.rs +++ b/crates/vcs_data/src/current.rs @@ -74,5 +74,5 @@ pub fn find_local_path(path: impl Into) -> Option { /// Get the system's document directory and join with .just_enough_vcs pub fn current_doc_dir() -> Option { - dirs::document_dir().map(|path| path.join(".just_enough_vcs")) + dirs::config_local_dir().map(|path| path.join("jvcs")) } -- cgit