hugo/cache/filecache
Bjørn Erik Pedersen ec1c97e7e9 Work around --gc failure on Windows <= 10
This applies two related fixes/improvements:

* The --gc now keeps empty `_resources/_gen/images` etc folders, even if empty. This should have been the behaviour
from the start.
* Also, if removal of an empty dir on Windows fails with the "used by another process" error, just ignore it for now.

Fixes #10781
2023-03-04 13:40:55 +01:00
..
filecache.go Correct typos in Go comments 2023-03-02 16:32:32 +01:00
filecache_config.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
filecache_config_test.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
filecache_pruner.go Work around --gc failure on Windows <= 10 2023-03-04 13:40:55 +01:00
filecache_pruner_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
filecache_test.go Replace deprecated ioutil with io and os 2023-03-01 16:28:43 +01:00
integration_test.go Work around --gc failure on Windows <= 10 2023-03-04 13:40:55 +01:00