debian-forge/test
David Rheinsberg 18c69d2620 util/fscache: add cachedir-tag support
The cachedir-tag specification defines how to mark directories as
cache-directories. This allows tools like `tar` to ignore those
directories if desired (e.g., see `tar --ignore-caches`). This is very
useful to avoid huge cache-directories in backups and remote
synchronizations.

The spec simply defines a file called `CACHEDIR.TAG` with the first 43
bytes to be: "Signature: 8a477f597d28d172789f06886806bc55" (which
happens to be the MD5-checksum of ".IsCacheDirectory". Further content
is to be ignored. Any such files marks the directory in question as a
cache-directory.

The cachedir-tag has been successfully deployed in tools like `cargo`
and `VLC`, and is currently discussed to be implemented in Firefox. More
information is available here: https://bford.info/cachedir/

Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
2022-12-20 16:56:43 +01:00
..
cases test/ostree-image: +fedora-ostree-native-container 2022-12-15 11:13:19 +01:00
data test/data: set source epoch for certain pipelines 2022-12-15 13:10:35 +00:00
mod util/fscache: add cachedir-tag support 2022-12-20 16:56:43 +01:00
run mounts: use the options object for mountopts 2022-11-30 14:21:10 +01:00
src test/src: improve file enumeration 2022-09-23 12:08:10 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
initrd.py test: explicit encodings for open() 2022-09-09 15:33:29 +02:00
test.py osbuid: integrate FsCache into ObjectStore 2022-12-09 12:03:40 +01:00