From eb53b7ec0306fd0c1cc89203858d07676f4cce10 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 18 Jul 2024 13:31:52 +0100 Subject: refactor(fetch): move database cache into cache directory rather than config directories also removed CodeCollaboration from path as this isn't helpful whilst this is a breaking change, the cache was only introduced during development of this version so it is not highlighted as such --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index f5dba98..547fe7e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -5,7 +5,7 @@ use nostr_sdk::Timestamp; use serde::{self, Deserialize, Serialize}; pub fn get_dirs() -> Result { - ProjectDirs::from("", "CodeCollaboration", "ngit").ok_or(anyhow!( + ProjectDirs::from("", "", "ngit").ok_or(anyhow!( "should find operating system home directories with rust-directories crate" )) } -- cgit v1.2.3