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

+ 1 - 1
src/config.rs

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