aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirs.rs')
-rw-r--r--src/dirs.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dirs.rs b/src/dirs.rs
index bc97ed5..5ebeaa2 100644
--- a/src/dirs.rs
+++ b/src/dirs.rs
@@ -68,6 +68,11 @@ pub fn agent_stderr_file() -> std::path::PathBuf {
}
#[must_use]
+pub fn device_id_file() -> std::path::PathBuf {
+ data_dir().join("device_id")
+}
+
+#[must_use]
pub fn socket_file() -> std::path::PathBuf {
runtime_dir().join("socket")
}