Uses lockedfile to get a lock on a directory before reading or writing.
Adds a bindown cache clear command.
The new cache has a ReadOnly option that isn't currently being used. I changed my mind on it at the last minute because even with bindown cache clear it is annoying to require sudo to rm -rf the cache dir.
In the future I want to put the default cache in $XDG_CACHE_HOME and share it between bindown configs. When we have that it will make sense to use a read-only cache.
Uses lockedfile to get a lock on a directory before reading or writing.
Adds a
bindown cache clear
command.The new cache has a ReadOnly option that isn't currently being used. I changed my mind on it at the last minute because even with
bindown cache clear
it is annoying to require sudo torm -rf
the cache dir.In the future I want to put the default cache in
$XDG_CACHE_HOME
and share it between bindown configs. When we have that it will make sense to use a read-only cache.