]> git.ipfire.org Git - thirdparty/ccache.git/commit
feat: Do clean/clear/evict-style operations per level 2 directory
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 29 Nov 2022 20:54:08 +0000 (21:54 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 11 Jan 2023 18:42:30 +0000 (19:42 +0100)
commit2418e15d815967b1ff7aa38b6d691dd8204a962d
treeda5802e60ac26dac72749b0779b18e07374f152f
parent6c6c6de73c3b6c0c46a3bd137cbecf96451364ac
feat: Do clean/clear/evict-style operations per level 2 directory

Progress bars will now be smoother since the operations are now divided
into 256 instead of 16 "read files + act on files" steps. This is also
in preparation for future improvements related to cache cleanup.
src/storage/local/LocalStorage.cpp
src/storage/local/LocalStorage.hpp
src/storage/local/util.cpp
src/storage/local/util.hpp
test/suites/cleanup.bash
unittest/test_storage_local_util.cpp