|
Does anyone know how to invoke Bazel's Diskcache GC from it's tool? There's no documentation on how to run it. |
Answered by
tjgq
Oct 17, 2025
Replies: 2 comments
$ bazel build //src/tools/diskcache:gc
$ bazel-bin/src/tools/diskcache/gc \
--disk_cache=/path/to/disk/cache \
--max_age=7d \
--max_size=2GI'll add a usage example to the README. |
0 replies
Answer selected by
vibbix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ bazel build //src/tools/diskcache:gc $ bazel-bin/src/tools/diskcache/gc \ --disk_cache=/path/to/disk/cache \ --max_age=7d \ --max_size=2GI'll add a usage example to the README.