From 5dd65997c90334fad1bd526fc6a891c861f3b5d5 Mon Sep 17 00:00:00 2001 From: anand Date: Wed, 19 Nov 2025 10:26:48 +0530 Subject: Initial commit and folder creation --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main.rs (limited to 'src') 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) +} -- cgit v1.2.3