Commits
March 2026:
- Merge pull request #82 from alexwlchan/dependabot/cargo/tempfile-3.26.0
- Bump tempfile from 3.25.0 to 3.26.0
February 2026:
- Merge pull request #81 from alexwlchan/cli-tests
- cli: allow running
emptydir .to delete current dir
- emptydir: remove a now-redundant test
- Merge pull request #80 from alexwlchan/dependabot/cargo/clap-4.5.60
- Bump clap from 4.5.56 to 4.5.60
- Merge pull request #79 from alexwlchan/dependabot/cargo/tempfile-3.25.0
- Bump tempfile from 3.24.0 to 3.25.0
- Merge pull request #76 from alexwlchan/dependabot/cargo/clap-4.5.56
- Bump clap from 4.5.54 to 4.5.56
January 2026:
- Merge pull request #75 from alexwlchan/dependabot/cargo/colored-3.1.1
- Bump colored from 3.0.0 to 3.1.1
- Merge pull request #74 from alexwlchan/dependabot/cargo/clap-4.5.54
- Bump clap from 4.5.53 to 4.5.54
December 2025:
- Merge pull request #73 from alexwlchan/dependabot/cargo/tempfile-3.24.0
- Bump tempfile from 3.23.0 to 3.24.0
- Merge pull request #72 from alexwlchan/explain-why-not-deleting
- Explain why a directory can’t be deleted
November 2025:
- Merge pull request #70 from alexwlchan/dependabot/github_actions/actions/checkout-6
- Bump actions/checkout from 5 to 6
- Merge pull request #71 from alexwlchan/dependabot/cargo/clap-4.5.53
- Bump clap from 4.5.51 to 4.5.53
- Merge pull request #69 from alexwlchan/dependabot/cargo/clap-4.5.51
- Bump clap from 4.5.50 to 4.5.51
October 2025:
- Merge pull request #68 from alexwlchan/dependabot/cargo/clap-4.5.50
- Bump clap from 4.5.49 to 4.5.50
- Merge pull request #67 from alexwlchan/dependabot/cargo/clap-4.5.49
- Bump clap from 4.5.48 to 4.5.49
September 2025:
- Merge pull request #66 from alexwlchan/dependabot/cargo/tempfile-3.23.0
- Add rustfmt explicitly as a component
- Bump tempfile from 3.22.0 to 3.23.0
- Merge pull request #65 from alexwlchan/dependabot/cargo/clap-4.5.48
- Bump clap from 4.5.47 to 4.5.48
- Merge pull request #64 from alexwlchan/dependabot/cargo/tempfile-3.22.0
- Bump tempfile from 3.21.0 to 3.22.0
- Merge pull request #63 from alexwlchan/dependabot/cargo/clap-4.5.47
- Bump clap from 4.5.45 to 4.5.47
August 2025:
- Merge pull request #62 from alexwlchan/dependabot/cargo/tempfile-3.21.0
- Bump tempfile from 3.20.0 to 3.21.0
- Merge pull request #60 from alexwlchan/dependabot/cargo/clap-4.5.45
- Bump clap from 4.5.43 to 4.5.45
- Merge pull request #61 from alexwlchan/dependabot/github_actions/actions/checkout-5
- Bump actions/checkout from 4 to 5
- Merge pull request #59 from alexwlchan/debug
- Print explicit errors when a directory cannot be deleted
- Rename this function for clarity
- This function doesn’t need to be public
- Merge pull request #58 from alexwlchan/dependabot/cargo/clap-4.5.43
- Bump clap from 4.5.42 to 4.5.43
- Merge pull request #57 from alexwlchan/dependabot/cargo/clap-4.5.42
- Bump clap from 4.5.41 to 4.5.42
July 2025:
June 2025:
- Merge pull request #55 from alexwlchan/dependabot/cargo/clap-4.5.40
- Bump clap from 4.5.39 to 4.5.40
- Merge pull request #54 from alexwlchan/dependabot/cargo/clap-4.5.39
- Bump clap from 4.5.38 to 4.5.39
May 2025:
- Merge pull request #52 from alexwlchan/dependabot/cargo/tempfile-3.20.0
- Bump tempfile from 3.19.1 to 3.20.0
- Merge pull request #53 from alexwlchan/dependabot/cargo/clap-4.5.38
- Bump clap from 4.5.37 to 4.5.38
April 2025:
- Merge pull request #51 from alexwlchan/dependabot/cargo/clap-4.5.37
- Bump clap from 4.5.36 to 4.5.37
- Merge pull request #50 from alexwlchan/dependabot/cargo/clap-4.5.36
- Bump clap from 4.5.35 to 4.5.36
- Merge pull request #49 from alexwlchan/dependabot/cargo/clap-4.5.35
- Bump clap from 4.5.34 to 4.5.35
March 2025:
- Merge pull request #48 from alexwlchan/dependabot/cargo/clap-4.5.34
- Bump clap from 4.5.32 to 4.5.34
- Merge pull request #47 from alexwlchan/dependabot/cargo/tempfile-3.19.1
- Bump tempfile from 3.19.0 to 3.19.1
- Merge pull request #45 from alexwlchan/dependabot/cargo/tempfile-3.19.0
- Bump tempfile from 3.17.1 to 3.19.0
- Merge pull request #46 from alexwlchan/dependabot/cargo/clap-4.5.32
- Bump clap from 4.5.31 to 4.5.32
- Merge pull request #43 from alexwlchan/dependabot/cargo/clap-4.5.31
- Bump clap from 4.5.30 to 4.5.31
February 2025:
- Merge pull request #40 from alexwlchan/dependabot/cargo/tempfile-3.17.1
- Bump tempfile from 3.17.0 to 3.17.1
- Merge pull request #41 from alexwlchan/dependabot/cargo/clap-4.5.30
- Bump clap from 4.5.29 to 4.5.30
- Add an explicit time for Dependabot updates
- Merge pull request #39 from alexwlchan/dependabot/cargo/tempfile-3.17.0
- Bump tempfile from 3.16.0 to 3.17.0
- Switch to weekly updates for Dependabot
- Merge pull request #38 from alexwlchan/dependabot/cargo/clap-4.5.29
- Bump clap from 4.5.28 to 4.5.29
- Merge pull request #37 from alexwlchan/dependabot/cargo/clap-4.5.28
- Bump clap from 4.5.27 to 4.5.28
January 2025:
- Merge pull request #36 from alexwlchan/dependabot/cargo/tempfile-3.16.0
- Bump tempfile from 3.15.0 to 3.16.0
- Merge pull request #35 from alexwlchan/dependabot/cargo/clap-4.5.27
- Bump clap from 4.5.26 to 4.5.27
- Merge pull request #34 from alexwlchan/dependabot/cargo/clap-4.5.26
- Bump clap from 4.5.24 to 4.5.26
- Merge pull request #32 from alexwlchan/dependabot/cargo/colored-3.0.0
- Bump colored from 2.2.0 to 3.0.0
- Merge pull request #33 from alexwlchan/dependabot/cargo/clap-4.5.24
- Bump clap from 4.5.23 to 4.5.24
- Merge pull request #31 from alexwlchan/dependabot/cargo/tempfile-3.15.0
- Bump tempfile from 3.14.0 to 3.15.0
December 2024:
- Merge pull request #30 from alexwlchan/dependabot/cargo/colored-2.2.0
- Bump colored from 2.1.0 to 2.2.0
- Merge pull request #29 from alexwlchan/dependabot/cargo/clap-4.5.23
- Bump clap from 4.5.22 to 4.5.23
- Merge pull request #28 from alexwlchan/dependabot/cargo/clap-4.5.22
- Bump clap from 4.5.21 to 4.5.22
- Merge pull request #27 from alexwlchan/ignore-dot-git-directory
- Don’t delete the
.gitdirectory or any subdirectories
- Update the list of files I consider safe to delete
- Remove a trailing space
November 2024:
- Merge pull request #26 from alexwlchan/dependabot/cargo/clap-4.5.21
- Bump clap from 4.5.20 to 4.5.21
- Merge pull request #25 from alexwlchan/dependabot/cargo/tempfile-3.14.0
- Bump tempfile from 3.13.0 to 3.14.0
October 2024:
- Merge pull request #24 from alexwlchan/dependabot/cargo/clap-4.5.20
- Bump clap from 4.5.19 to 4.5.20
- Merge pull request #23 from alexwlchan/dependabot/cargo/clap-4.5.19
- Bump clap from 4.5.18 to 4.5.19
September 2024:
- Merge pull request #22 from alexwlchan/dependabot/cargo/tempfile-3.13.0
- Bump tempfile from 3.12.0 to 3.13.0
- Merge pull request #21 from alexwlchan/dependabot/cargo/tempfile-3.12.0
- Bump tempfile from 3.11.0 to 3.12.0
- Merge pull request #20 from alexwlchan/tempfile
- Replace
tempdirwithtempfile
- Merge pull request #18 from alexwlchan/dependabot/cargo/clap-4.5.18
- Bump clap from 4.5.17 to 4.5.18
- Merge pull request #16 from alexwlchan/dependabot/cargo/clap-4.5.17
- Bump clap from 4.5.16 to 4.5.17
August 2024:
- Merge pull request #15 from alexwlchan/also-delete-parents
- Delete empty parent directories
- Add a couple of extra assertions to the tests
- Only borrow the path of created files; don’t own it
- Merge pull request #14 from alexwlchan/jekyll-cache
- Delete empty folders which only contain a
.jekyll-cachefolder
- Merge pull request #13 from alexwlchan/ipynb-checkpoints
- Delete empty folders which only contain an
.ipynb_checkpointsfolder
- Merge pull request #12 from alexwlchan/dependabot/cargo/clap-4.5.16
- Bump clap from 4.5.15 to 4.5.16
- Merge pull request #11 from alexwlchan/dependabot/cargo/clap-4.5.15
- Bump clap from 4.5.14 to 4.5.15
- Merge pull request #10 from alexwlchan/dependabot/cargo/clap-4.5.14
- Bump clap from 4.5.13 to 4.5.14
- Merge pull request #9 from alexwlchan/dependabot/cargo/clap-4.5.13
- Bump clap from 4.5.11 to 4.5.13
July 2024:
- Delete empty folders which only contain a
desktop.inifile
- Merge pull request #8 from alexwlchan/thumbs-db
- Delete empty folders which only contain a
Thumbs.dbfile
- Merge pull request #7 from alexwlchan/dependabot/cargo/clap-4.5.11
- Bump clap from 4.5.10 to 4.5.11
- Merge pull request #6 from alexwlchan/dependabot/cargo/clap-4.5.10
- Bump clap from 4.5.9 to 4.5.10
- Merge pull request #5 from alexwlchan/dependabot/cargo/clap-4.5.9
- Bump clap from 4.5.8 to 4.5.9
- Merge pull request #4 from alexwlchan/dependabot/cargo/clap-4.5.8
- Bump clap from 4.5.7 to 4.5.8
June 2024:
- Link to the accompanying article
- Make this code a little clearer
- Better variable naming; tidy up the code
- Merge pull request #2 from alexwlchan/better-tests
- We can use
super::*here rather than naming the crate
- Tweak this heading
- Add a note about when these files are deleted
- Add a note about which files/folders are safe to delete?
- Make the test names consistent
- Remove the old Python implementation
- Add a note about
find . -type d -empty
- Try adding write permissions to the ‘upload assets’ task
- Add console formatting for this code block
- Bump the version to 1.0.0
- Format numbers as comma-separated strings
- Add some basic documentation
- Add some more performance metrics
- Add a basic CLI interface
- Add some tests for the emptydir function
- Now pull
emptydirout into its own file
- Pull the bulk of the logic out into a standalone function
- Actually delete some directories
- Add colour printing
- Add logic to filter out directories which can be deleted
- Copy across the original Python script
- Initial commit