Commits
March 2026:
- Merge pull request #82 from alexwlchan/dependabot/cargo/tempfile-3.26.0
6c20231· 2 March · +8, −8 - Bump tempfile from 3.25.0 to 3.26.0
76849e4· 2 March · dependabot <https://github.com/dependabot> · +8, −8
February 2026:
- Merge pull request #81 from alexwlchan/cli-tests
6ad6f39· 26 February · +248, −17 - cli: allow running `emptydir .` to delete current dir
e0c24bf· 26 February · +248, −5 - emptydir: remove a now-redundant test
11a6595· 26 February · −12 - Merge pull request #80 from alexwlchan/dependabot/cargo/clap-4.5.60
6702fdf· 26 February · +7, −7 - Bump clap from 4.5.56 to 4.5.60
902756f· 23 February · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #79 from alexwlchan/dependabot/cargo/tempfile-3.25.0
8de3363· 26 February · +2, −2 - Bump tempfile from 3.24.0 to 3.25.0
048f8af· 16 February · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #76 from alexwlchan/dependabot/cargo/clap-4.5.56
56ec34d· 2 February · +7, −7 - Bump clap from 4.5.54 to 4.5.56
1639881· 2 February · dependabot <https://github.com/dependabot> · +7, −7
January 2026:
- Merge pull request #75 from alexwlchan/dependabot/cargo/colored-3.1.1
64f7fcd· 19 January · +3, −3 - Bump colored from 3.0.0 to 3.1.1
bfc9e9e· 19 January · dependabot <https://github.com/dependabot> · +3, −3 - Merge pull request #74 from alexwlchan/dependabot/cargo/clap-4.5.54
1af8323· 5 January · +5, −5 - Bump clap from 4.5.53 to 4.5.54
7c564b4· 5 January · dependabot <https://github.com/dependabot> · +5, −5
December 2025:
- Merge pull request #73 from alexwlchan/dependabot/cargo/tempfile-3.24.0
4471f1c· 29 December · +8, −8 - Bump tempfile from 3.23.0 to 3.24.0
8859d61· 29 December · dependabot <https://github.com/dependabot> · +8, −8 - Merge pull request #72 from alexwlchan/explain-why-not-deleting
7317c84· 16 December · +158, −59 - Explain why a directory can't be deleted
9f4c718· 16 December · +158, −59
November 2025:
- Merge pull request #70 from alexwlchan/dependabot/github_actions/actions/checkout-6
549b6e3· 24 November · +3, −3 - Bump actions/checkout from 5 to 6
431344f· 24 November · dependabot <https://github.com/dependabot> · +3, −3 - Merge pull request #71 from alexwlchan/dependabot/cargo/clap-4.5.53
253589e· 24 November · +5, −5 - Bump clap from 4.5.51 to 4.5.53
17cf3db· 24 November · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #69 from alexwlchan/dependabot/cargo/clap-4.5.51
cf29ae3· 10 November · +5, −5 - Bump clap from 4.5.50 to 4.5.51
1f6e206· 10 November · dependabot <https://github.com/dependabot> · +5, −5
October 2025:
- Merge pull request #68 from alexwlchan/dependabot/cargo/clap-4.5.50
c9a6d13· 27 October · +5, −5 - Bump clap from 4.5.49 to 4.5.50
718fdf0· 27 October · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #67 from alexwlchan/dependabot/cargo/clap-4.5.49
3b6d00b· 20 October · +7, −7 - Bump clap from 4.5.48 to 4.5.49
cf2a948· 20 October · dependabot <https://github.com/dependabot> · +7, −7
September 2025:
- Merge pull request #66 from alexwlchan/dependabot/cargo/tempfile-3.23.0
2c6ea37· 29 September · +3, −2 - Add rustfmt explicitly as a component
49f5f52· 29 September · +1 - Bump tempfile from 3.22.0 to 3.23.0
2a0e0a2· 29 September · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #65 from alexwlchan/dependabot/cargo/clap-4.5.48
e86398b· 22 September · +5, −5 - Bump clap from 4.5.47 to 4.5.48
8b4514d· 22 September · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #64 from alexwlchan/dependabot/cargo/tempfile-3.22.0
9872516· 16 September · +2, −2 - Bump tempfile from 3.21.0 to 3.22.0
6d64f53· 15 September · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #63 from alexwlchan/dependabot/cargo/clap-4.5.47
23bd0ab· 8 September · +7, −7 - Bump clap from 4.5.45 to 4.5.47
b5242d5· 8 September · dependabot <https://github.com/dependabot> · +7, −7
August 2025:
- Merge pull request #62 from alexwlchan/dependabot/cargo/tempfile-3.21.0
09558e2· 25 August · +2, −2 - Bump tempfile from 3.20.0 to 3.21.0
a277446· 25 August · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #60 from alexwlchan/dependabot/cargo/clap-4.5.45
c19ce77· 18 August · +7, −7 - Bump clap from 4.5.43 to 4.5.45
b989636· 18 August · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #61 from alexwlchan/dependabot/github_actions/actions/checkout-5
6d9a9fc· 18 August · +3, −3 - Bump actions/checkout from 4 to 5
0f3446c· 18 August · dependabot <https://github.com/dependabot> · +3, −3 - Merge pull request #59 from alexwlchan/debug
c6519d8· 16 August · +102, −30 - Print explicit errors when a directory cannot be deleted
2411b27· 16 August · +100, −28 - Rename this function for clarity
8e0e5d5· 16 August · +2, −2 - This function doesn't need to be public
93da18e· 16 August · +1, −1 - Merge pull request #58 from alexwlchan/dependabot/cargo/clap-4.5.43
8d95306· 11 August · +5, −5 - Bump clap from 4.5.42 to 4.5.43
70f9c73· 11 August · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #57 from alexwlchan/dependabot/cargo/clap-4.5.42
809b0d7· 4 August · +5, −5 - Bump clap from 4.5.41 to 4.5.42
940872c· 4 August · dependabot <https://github.com/dependabot> · +5, −5
July 2025:
- Merge pull request #56 from alexwlchan/dependabot/cargo/clap-4.5.41
95161d8· 14 July · +7, −7 - Bump clap from 4.5.40 to 4.5.41
8b4d5c1· 14 July · dependabot <https://github.com/dependabot> · +7, −7
June 2025:
- Merge pull request #55 from alexwlchan/dependabot/cargo/clap-4.5.40
d025c66· 16 June · +7, −7 - Bump clap from 4.5.39 to 4.5.40
725a0a1· 16 June · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #54 from alexwlchan/dependabot/cargo/clap-4.5.39
9137954· 2 June · +5, −5 - Bump clap from 4.5.38 to 4.5.39
19917d4· 2 June · dependabot <https://github.com/dependabot> · +5, −5
May 2025:
- Merge pull request #52 from alexwlchan/dependabot/cargo/tempfile-3.20.0
b274e99· 13 May · +2, −2 - Bump tempfile from 3.19.1 to 3.20.0
a08631b· 13 May · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #53 from alexwlchan/dependabot/cargo/clap-4.5.38
7bf654a· 13 May · +5, −5 - Bump clap from 4.5.37 to 4.5.38
7c3c333· 12 May · dependabot <https://github.com/dependabot> · +5, −5
April 2025:
- Merge pull request #51 from alexwlchan/dependabot/cargo/clap-4.5.37
6d8e5ea· 21 April · +5, −5 - Bump clap from 4.5.36 to 4.5.37
77542e9· 21 April · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #50 from alexwlchan/dependabot/cargo/clap-4.5.36
8ee0fb0· 14 April · +5, −5 - Bump clap from 4.5.35 to 4.5.36
70f1b41· 14 April · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #49 from alexwlchan/dependabot/cargo/clap-4.5.35
821648d· 7 April · +5, −5 - Bump clap from 4.5.34 to 4.5.35
ae1f48a· 7 April · dependabot <https://github.com/dependabot> · +5, −5
March 2025:
- Merge pull request #48 from alexwlchan/dependabot/cargo/clap-4.5.34
299a19f· 31 March · +5, −5 - Bump clap from 4.5.32 to 4.5.34
d37f850· 31 March · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #47 from alexwlchan/dependabot/cargo/tempfile-3.19.1
23a517c· 26 March · +2, −2 - Bump tempfile from 3.19.0 to 3.19.1
ec15d17· 24 March · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #45 from alexwlchan/dependabot/cargo/tempfile-3.19.0
e667c84· 17 March · +12, −13 - Bump tempfile from 3.17.1 to 3.19.0
e960851· 17 March · dependabot <https://github.com/dependabot> · +12, −13 - Merge pull request #46 from alexwlchan/dependabot/cargo/clap-4.5.32
272a29e· 17 March · +7, −7 - Bump clap from 4.5.31 to 4.5.32
592b213· 17 March · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #43 from alexwlchan/dependabot/cargo/clap-4.5.31
0e1bcaa· 3 March · +6, −6 - Bump clap from 4.5.30 to 4.5.31
3a55c64· 3 March · dependabot <https://github.com/dependabot> · +6, −6
February 2025:
- Merge pull request #40 from alexwlchan/dependabot/cargo/tempfile-3.17.1
56311c3· 19 February · +2, −2 - Bump tempfile from 3.17.0 to 3.17.1
6b6ca6d· 18 February · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #41 from alexwlchan/dependabot/cargo/clap-4.5.30
b6be09c· 19 February · +5, −5 - Bump clap from 4.5.29 to 4.5.30
c1cb889· 18 February · dependabot <https://github.com/dependabot> · +5, −5 - Add an explicit time for Dependabot updates
7bd4ddd· 18 February · +2 - Merge pull request #39 from alexwlchan/dependabot/cargo/tempfile-3.17.0
04b5e5f· 17 February · +2, −2 - Bump tempfile from 3.16.0 to 3.17.0
6d1e866· 17 February · dependabot <https://github.com/dependabot> · +2, −2 - Switch to weekly updates for Dependabot
38652d3· 13 February · +4, −2 - Merge pull request #38 from alexwlchan/dependabot/cargo/clap-4.5.29
076f9d6· 13 February · +5, −5 - Bump clap from 4.5.28 to 4.5.29
adf0756· 12 February · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #37 from alexwlchan/dependabot/cargo/clap-4.5.28
c378f0a· 4 February · +5, −5 - Bump clap from 4.5.27 to 4.5.28
a5915bb· 4 February · dependabot <https://github.com/dependabot> · +5, −5
January 2025:
- Merge pull request #36 from alexwlchan/dependabot/cargo/tempfile-3.16.0
8226ab6· 29 January · +19, −6 - Bump tempfile from 3.15.0 to 3.16.0
e7efe92· 29 January · dependabot <https://github.com/dependabot> · +19, −6 - Merge pull request #35 from alexwlchan/dependabot/cargo/clap-4.5.27
32a2fb9· 21 January · +5, −5 - Bump clap from 4.5.26 to 4.5.27
90cca89· 21 January · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #34 from alexwlchan/dependabot/cargo/clap-4.5.26
d72b0a1· 10 January · +5, −5 - Bump clap from 4.5.24 to 4.5.26
ea0e045· 10 January · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #32 from alexwlchan/dependabot/cargo/colored-3.0.0
74601e0· 8 January · +3, −10 - Bump colored from 2.2.0 to 3.0.0
371722b· 8 January · dependabot <https://github.com/dependabot> · +3, −10 - Merge pull request #33 from alexwlchan/dependabot/cargo/clap-4.5.24
dd2a284· 8 January · +7, −7 - Bump clap from 4.5.23 to 4.5.24
ec935d6· 8 January · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #31 from alexwlchan/dependabot/cargo/tempfile-3.15.0
27e23cc· 3 January · +20, −2 - Bump tempfile from 3.14.0 to 3.15.0
0b2ed24· 3 January · dependabot <https://github.com/dependabot> · +20, −2
December 2024:
- Merge pull request #30 from alexwlchan/dependabot/cargo/colored-2.2.0
d8829d4· 16 December · +13, −79 - Bump colored from 2.1.0 to 2.2.0
c3a9268· 16 December · dependabot <https://github.com/dependabot> · +13, −79 - Merge pull request #29 from alexwlchan/dependabot/cargo/clap-4.5.23
7f60545· 6 December · +7, −7 - Bump clap from 4.5.22 to 4.5.23
82d76c1· 6 December · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #28 from alexwlchan/dependabot/cargo/clap-4.5.22
4a55c22· 4 December · +5, −5 - Bump clap from 4.5.21 to 4.5.22
0097c5a· 4 December · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #27 from alexwlchan/ignore-dot-git-directory
3ff4e69· 1 December · +66, −6 - Don't delete the `.git` directory or any subdirectories
ae450d5· 1 December · +53, −2 - Update the list of files I consider safe to delete
9cf1631· 1 December · +12, −3 - Remove a trailing space
1539210· 1 December · +1, −1
November 2024:
- Merge pull request #26 from alexwlchan/dependabot/cargo/clap-4.5.21
9bdfafa· 15 November · +5, −5 - Bump clap from 4.5.20 to 4.5.21
4cb83d7· 14 November · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #25 from alexwlchan/dependabot/cargo/tempfile-3.14.0
39a572f· 8 November · +6, −6 - Bump tempfile from 3.13.0 to 3.14.0
b2e3e92· 8 November · dependabot <https://github.com/dependabot> · +6, −6
October 2024:
- Merge pull request #24 from alexwlchan/dependabot/cargo/clap-4.5.20
1e58857· 9 October · +5, −5 - Bump clap from 4.5.19 to 4.5.20
5096b53· 9 October · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #23 from alexwlchan/dependabot/cargo/clap-4.5.19
3166b35· 3 October · +5, −5 - Bump clap from 4.5.18 to 4.5.19
1b4980c· 2 October · dependabot <https://github.com/dependabot> · +5, −5
September 2024:
- Merge pull request #22 from alexwlchan/dependabot/cargo/tempfile-3.13.0
7e6c4c1· 30 September · +2, −2 - Bump tempfile from 3.12.0 to 3.13.0
2de3808· 30 September · dependabot <https://github.com/dependabot> · +2, −2 - Merge pull request #21 from alexwlchan/dependabot/cargo/tempfile-3.12.0
2365d9f· 26 September · +38, −29 - Bump tempfile from 3.11.0 to 3.12.0
7db47b6· 26 September · dependabot <https://github.com/dependabot> · +38, −29 - Merge pull request #20 from alexwlchan/tempfile
574b853· 25 September · +58, −76 - Replace `tempdir` with `tempfile`
f3016eb· 25 September · +58, −76 - Merge pull request #18 from alexwlchan/dependabot/cargo/clap-4.5.18
5b2243b· 23 September · +7, −7 - Bump clap from 4.5.17 to 4.5.18
c66ec63· 23 September · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #16 from alexwlchan/dependabot/cargo/clap-4.5.17
773c25a· 8 September · +5, −5 - Bump clap from 4.5.16 to 4.5.17
2994906· 5 September · dependabot <https://github.com/dependabot> · +5, −5
August 2024:
- Merge pull request #15 from alexwlchan/also-delete-parents
dd08671· 21 August · +43, −15 - Delete empty parent directories
bb97012· 21 August · +28, −2 - Add a couple of extra assertions to the tests
3915f6a· 21 August · +3, −1 - Only borrow the path of created files; don't own it
df48217· 21 August · +12, −12 - Merge pull request #14 from alexwlchan/jekyll-cache
626aff8· 21 August · +10, −2 - Delete empty folders which only contain a `.jekyll-cache` folder
e2c25ba· 21 August · +10, −2 - Merge pull request #13 from alexwlchan/ipynb-checkpoints
f9b696a· 16 August · +16, −3 - Delete empty folders which only contain an `.ipynb_checkpoints` folder
aa233a1· 16 August · +16, −3 - Merge pull request #12 from alexwlchan/dependabot/cargo/clap-4.5.16
7daaf05· 16 August · +3, −3 - Bump clap from 4.5.15 to 4.5.16
74dd27f· 16 August · dependabot <https://github.com/dependabot> · +3, −3 - Merge pull request #11 from alexwlchan/dependabot/cargo/clap-4.5.15
604e517· 12 August · +5, −5 - Bump clap from 4.5.14 to 4.5.15
698d14d· 12 August · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #10 from alexwlchan/dependabot/cargo/clap-4.5.14
efcf44e· 9 August · +7, −7 - Bump clap from 4.5.13 to 4.5.14
4c2f383· 9 August · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #9 from alexwlchan/dependabot/cargo/clap-4.5.13
88dce65· 1 August · +8, −8 - Bump clap from 4.5.11 to 4.5.13
aef0710· 1 August · dependabot <https://github.com/dependabot> · +8, −8
July 2024:
- Delete empty folders which only contain a `desktop.ini` file
a9b3c99· 26 July · +6, −1 - Merge pull request #8 from alexwlchan/thumbs-db
2f300a5· 26 July · +11, −5 - Delete empty folders which only contain a `Thumbs.db` file
cd1c0f3· 26 July · +11, −5 - Merge pull request #7 from alexwlchan/dependabot/cargo/clap-4.5.11
7137587· 26 July · +7, −7 - Bump clap from 4.5.10 to 4.5.11
b87cc06· 26 July · dependabot <https://github.com/dependabot> · +7, −7 - Merge pull request #6 from alexwlchan/dependabot/cargo/clap-4.5.10
ba225f7· 24 July · +5, −5 - Bump clap from 4.5.9 to 4.5.10
900ccbb· 24 July · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #5 from alexwlchan/dependabot/cargo/clap-4.5.9
0ab57bf· 9 July · +5, −5 - Bump clap from 4.5.8 to 4.5.9
3da7472· 9 July · dependabot <https://github.com/dependabot> · +5, −5 - Merge pull request #4 from alexwlchan/dependabot/cargo/clap-4.5.8
42804ef· 2 July · +7, −7 - Bump clap from 4.5.7 to 4.5.8
905a889· 1 July · dependabot <https://github.com/dependabot> · +7, −7
June 2024:
- Link to the accompanying article
361adee· 25 June · +4 - Make this code a little clearer
5f9944b· 24 June · +1 - Better variable naming; tidy up the code
daefd24· 20 June · +25, −24 - Merge pull request #2 from alexwlchan/better-tests
a7779a5· 19 June · +2, −2 - We can use `super::*` here rather than naming the crate
c6b5a51· 19 June · +2, −2 - Tweak this heading
499550b· 19 June · +8, −2 - Add a note about when these files are deleted
84167fb· 19 June · +3 - Add a note about which files/folders are safe to delete?
da15bdc· 19 June · +16 - Make the test names consistent
91de11e· 19 June · +2, −2 - Remove the old Python implementation
0f31a08· 19 June · −70 - Add a note about `find . -type d -empty`
8581c03· 19 June · +20, −1 - Try adding write permissions to the 'upload assets' task
8192182· 18 June · +2 - Add console formatting for this code block
5497d9b· 18 June · +1, −1 - Bump the version to 1.0.0
1f8bf23· 18 June · +7, −2 - Format numbers as comma-separated strings
5c7ac2a· 18 June · +29, −1 - Add some basic documentation
93160b6· 18 June · +94, −26 - Add some more performance metrics
93b5c3f· 18 June · +17, −1 - Add a basic CLI interface
9dda008· 18 June · +169, −1 - Add some tests for the emptydir function
2ece504· 18 June · +136 - Now pull `emptydir` out into its own file
3e99134· 18 June · +33, −30 - Pull the bulk of the logic out into a standalone function
3776780· 18 June · +14, −3 - Actually delete some directories
c53d37b· 18 June · +19, −2 - Add colour printing
90cd9c9· 18 June · +106, −9 - Add logic to filter out directories which can be deleted
720a78e· 18 June · +363, −2 - Copy across the original Python script
efc16b5· 18 June · +70 - Initial commit
cefeb06· 18 June · +95