Squashed commit of the following:
commit 82b4b858e5
Author: daimond113 <contact@daimond113.com>
Date: Sat Feb 1 00:46:31 2025 +0100
feat: remove unused directories when purging cas
Now purging the CAS will also clean up unused
folders. Additionally, since concurrent removal
of directories seems to throw a PermissionDenied
error on Windows those are ignored. Needs
investigation on why that happens.
commit 75d6aa5443
Author: daimond113 <contact@daimond113.com>
Date: Fri Jan 31 23:24:11 2025 +0100
feat: finish prune command implementation
The prune command now discovers packages in the
CAS, removes individual unused files and then
packages which use those files, since that means
they're unused.
commit 333eb3bdd9
Author: daimond113 <contact@daimond113.com>
Date: Sun Jan 26 23:30:52 2025 +0100
chore: fix clippy lint
commit a38da43670
Author: daimond113 <contact@daimond113.com>
Date: Sun Jan 26 23:02:52 2025 +0100
feat: add cas pruning command
Removes unused files from the CAS. Still needs to
remove individual package index entries to be
complete.