diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-11-19 10:26:48 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-11-19 10:26:48 +0530 |
| commit | 5dd65997c90334fad1bd526fc6a891c861f3b5d5 (patch) | |
| tree | 9388296dc73499113784dd395c1600102d376593 /src | |
Initial commit and folder creation
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..b28778d --- /dev/null +++ b/src/main.rs @@ -0,0 +1,8 @@ +use std::{fs, path::Path}; +fn main() { + let mut result = Ok(()); + if !Path::new("~/.tmux-thing").exists() { + result = fs::create_dir("~/.tmux-thing"); + } + println!("{:?}", result) +} |
