Thomas 1 місяць тому
батько
коміт
f977672ffe
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/config.rs

+ 1 - 1
src/config.rs

@@ -444,7 +444,7 @@ lazy_static! {
 impl Config {
     /// Returns the config file path, e.g.:
     /// `~/.local/share/pandora/pandora-config.toml`.
-    fn config_path() -> PathBuf {
+    pub fn config_path() -> PathBuf {
         let mut path = directories::ProjectDirs::from("", "", "pandora")
             .expect("Could not determine project directory")
             .config_dir()