upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-07-18 13:31:52 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-07-18 13:55:13 +0100
commiteb53b7ec0306fd0c1cc89203858d07676f4cce10 (patch)
tree8e5d17997faa951e4c5abde7a808456d91c98ec4 /src/config.rs
parent135697a06b5c8c6c6253e39d08afab0a87bace0e (diff)
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
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
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;
5use serde::{self, Deserialize, Serialize}; 5use serde::{self, Deserialize, Serialize};
6 6
7pub fn get_dirs() -> Result<ProjectDirs> { 7pub fn get_dirs() -> Result<ProjectDirs> {
8 ProjectDirs::from("", "CodeCollaboration", "ngit").ok_or(anyhow!( 8 ProjectDirs::from("", "", "ngit").ok_or(anyhow!(
9 "should find operating system home directories with rust-directories crate" 9 "should find operating system home directories with rust-directories crate"
10 )) 10 ))
11} 11}