summaryrefslogtreecommitdiffstats
path: root/src/profile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.rs')
-rw-r--r--src/profile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.rs b/src/profile.rs
index 1b5f81c..abbb92d 100644
--- a/src/profile.rs
+++ b/src/profile.rs
@@ -86,7 +86,7 @@ impl Profile {
})
}
- fn state_dir_path(name: &str) -> Result<PathBuf> {
+ pub fn state_dir_path(name: &str) -> Result<PathBuf> {
xdg::BaseDirectories::with_prefix("distrox")
.map_err(anyhow::Error::from)
.and_then(|dirs| {