-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add CACHEDIR.TAG to zig-cache #8210
Comments
Do you have examples of tools that use |
from gnutar docs:
|
Kopia (my preferred backup tool at the moment) uses it by default |
Restic and fontconfig supports it. I also opened an issue for rsync. |
What about adding |
Implement the http://www.brynosaurus.com/cachedir/ specification for the Zig cache directory. This change will make it easier to exclude Zig cached data from a backup, expecially when the directory is not a well-known cache directory, like ~/.cache/zig or zig-cache. Closes ziglang#8210
Pika Backup also takes the |
Consider adding CACHEDIR.TAG to zig-cache directory.
It's just text file with ASCII text at the beginning:
(The hexadecimal string is same on all CACHEDIR.TAG files.)
For example Rust does this, and plenty other things, it makes easier for backup tools to ignore the directory.
The text was updated successfully, but these errors were encountered: