From 63feeb9f369fc6176e85c1c2d8fcc863caad1946 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 10 Feb 2026 12:32:48 +0100 Subject: start new MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bin/find-rust-target-dir | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 bin/find-rust-target-dir (limited to 'bin/find-rust-target-dir') diff --git a/bin/find-rust-target-dir b/bin/find-rust-target-dir deleted file mode 100755 index b59a2b4..0000000 --- a/bin/find-rust-target-dir +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -is_rust_root() { - [ -f $1/Cargo.toml ] || return 1 - [ -d $1/target ] || return 1 - return 0 -} - -inspect() { - for dir in `fd -t d -d 1 '' "${1}"`; do - is_rust_root ${dir} && { echo ${dir}; du -h -d 0; echo -e "\n"; continue; } - inspect ${dir} - done -} - -inspect ${1:-$PWD} -- cgit 1.4.1