diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-03-26 14:49:15 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-03-26 14:49:15 +0300 |
| commit | c214e1c59e54b895e32c332afc6bb8e897b01d0e (patch) | |
| tree | 449c7c4c4ed02c72469a7bd22b3cb1bc3b8b133c /src/configmanager.rs | |
| parent | e687e9bd48ce383894fd499595fc25c2dd8ca024 (diff) | |
Fixing errs
Diffstat (limited to 'src/configmanager.rs')
| -rw-r--r-- | src/configmanager.rs | 15 |
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 |
