From ffce5aeb2abf0aa2f840420121c1dd994b2ce48d Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sun, 28 Dec 2025 12:11:02 +0000 Subject: [PATCH 1/2] chore: auto format code --- lib/clean/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clean/system.sh b/lib/clean/system.sh index 1c6d9ea..a863ba7 100644 --- a/lib/clean/system.sh +++ b/lib/clean/system.sh @@ -214,7 +214,7 @@ clean_time_machine_failed_backups() { fi # Skip if backup is running (check actual Running status, not just daemon existence) - if tmutil status 2>/dev/null | grep -q "Running = 1"; then + if tmutil status 2> /dev/null | grep -q "Running = 1"; then if [[ "$spinner_active" == "true" ]]; then stop_section_spinner fi From 23479c61bdec87082849a17ebbaf2d6f1b830d9d Mon Sep 17 00:00:00 2001 From: Hensell Date: Sun, 28 Dec 2025 06:12:22 -0600 Subject: [PATCH 2/2] feat: add .dart_tool to project purge targets and disk analyzer (#179) --- cmd/analyze/cleanable.go | 1 + cmd/analyze/constants.go | 1 + lib/clean/project.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/cmd/analyze/cleanable.go b/cmd/analyze/cleanable.go index c74f7c7..b7ecae0 100644 --- a/cmd/analyze/cleanable.go +++ b/cmd/analyze/cleanable.go @@ -105,6 +105,7 @@ var projectDependencyDirs = map[string]bool{ "Pods": true, ".build": true, "Carthage": true, + ".dart_tool": true, // Other tools ".terraform": true, // Terraform plugins diff --git a/cmd/analyze/constants.go b/cmd/analyze/constants.go index b38e8de..cc65417 100644 --- a/cmd/analyze/constants.go +++ b/cmd/analyze/constants.go @@ -138,6 +138,7 @@ var foldDirs = map[string]bool{ ".build": true, "xcuserdata": true, "Carthage": true, + ".dart_tool": true, // Web frameworks ".angular": true, diff --git a/lib/clean/project.sh b/lib/clean/project.sh index ee67baa..5763c2c 100644 --- a/lib/clean/project.sh +++ b/lib/clean/project.sh @@ -21,6 +21,7 @@ readonly PURGE_TARGETS=( "obj" # C# / Unity ".turbo" # Turborepo cache ".parcel-cache" # Parcel bundler + ".dart_tool" # Flutter/Dart build cache ) # Minimum age in days before considering for cleanup