A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI.
Rust
git: no console window per probe on Windows
Tobi Lütkea95dce783be9
diff --git a/crates/disktree-app/src/git.rs b/crates/disktree-app/src/git.rsindex ec88f55..b4a69e3 100644--- a/crates/disktree-app/src/git.rs+++ b/crates/disktree-app/src/git.rs@@ -157,7 +157,15 @@ fn run(path: &Path, args: &[&str]) -> Option<String> {}fn git(path: &Path, args: &[&str]) -> Option<std::process::Output> {- Command::new("git")+ let mut command = Command::new("git");+ // disktree is a GUI program on Windows, with no console to lend: without+ // this, every probe flashes a console window of its own.+ #[cfg(windows)]+ std::os::windows::process::CommandExt::creation_flags(+ &mut command,+ 0x0800_0000, // CREATE_NO_WINDOW+ );+ command.arg("-C").arg(path)// A checkout's own config can name programs for git to run: an