chore: clean up

This commit is contained in:
2025-03-28 17:34:42 +07:00
parent cfc2300c0c
commit b778bb13e4
2 changed files with 28 additions and 40 deletions

View File

@@ -62,15 +62,3 @@ pub fn nostr_file() -> &'static PathBuf {
static NOSTR_FILE: OnceLock<PathBuf> = OnceLock::new();
NOSTR_FILE.get_or_init(|| support_dir().join("nostr"))
}
/// Returns the path to the `client.dat` file.
pub fn client_file() -> &'static PathBuf {
static CLIENT_FILE: OnceLock<PathBuf> = OnceLock::new();
CLIENT_FILE.get_or_init(|| support_dir().join("client.dat"))
}
/// Returns the path to the `device.dat` file.
pub fn device_file() -> &'static PathBuf {
static DEVICE_FILE: OnceLock<PathBuf> = OnceLock::new();
DEVICE_FILE.get_or_init(|| support_dir().join("device.dat"))
}