summaryrefslogtreecommitdiff
path: root/src/configmanager.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configmanager.rs')
-rw-r--r--src/configmanager.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/configmanager.rs b/src/configmanager.rs
index 0bbbb73..c0047a5 100644
--- a/src/configmanager.rs
+++ b/src/configmanager.rs
@@ -17,6 +17,14 @@ pub struct Config {
pub snowy: String,
}
+pub fn handle_config(_config: &Config) -> Result<(), Box<dyn std::error::Error>> {
+ Ok(())
+}
+
+pub fn gen_standard_conf() {
+ // TODO: Implement
+}
+
impl Config {
pub fn load() -> Result<Self, Box<dyn std::error::Error>> {
let mut path = home_dir().ok_or("Home directory not found")?;
@@ -28,10 +36,3 @@ impl Config {
}
}
-pub fn handle_config(_config: &Config) -> Result<(), Box<dyn std::error::Error>> {
- Ok(())
-}
-
-pub fn gen_standard_conf() {
- // TODO: Implement
-} \ No newline at end of file