summaryrefslogtreecommitdiffstats
path: root/src/conf/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf/mod.rs')
-rw-r--r--src/conf/mod.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/conf/mod.rs b/src/conf/mod.rs
index 8a9f1f6..1b8db40 100644
--- a/src/conf/mod.rs
+++ b/src/conf/mod.rs
@@ -4,12 +4,14 @@ use {
};
mod conf;
+mod default;
mod format;
mod import;
mod verb_conf;
pub use {
conf::Conf,
+ default::write_default_conf_in,
format::*,
import::*,
once_cell::sync::Lazy,
@@ -17,12 +19,6 @@ pub use {
};
-/// the content of the conf.hjson file broot creates when there's none.
-///
-/// It features some default configuration and many sections the user
-/// can uncomment then edit.
-pub const DEFAULT_CONF_FILE: &str = include_str!("../../resources/default-conf.hjson");
-
/// return the instance of ProjectDirs holding broot's specific paths
pub fn app_dirs() -> directories::ProjectDirs {
directories::ProjectDirs::from("org", "dystroy", "broot")