From 5be1f36a8d444956e342e885da68d17c543d712d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Allan=C3=A7on?= <haltode@gmail.com> Date: Tue, 29 Dec 2020 12:02:50 +0100 Subject: [PATCH] docs: design: update with most recent changes --- docs/design.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/design.md b/docs/design.md index 859b5ff..9f4ba43 100644 --- a/docs/design.md +++ b/docs/design.md @@ -69,6 +69,8 @@ The SwhFS mount point contain: character of their object id, the metadata identified by a `SWHID.json` entry, and the `origin/` directory. +- `README`: file explaining briefly what is SwhFS. + ## File system representation @@ -176,7 +178,8 @@ and global (i.e., they are shared by concurrent SwhFS processes). We assume that no cache *invalidation* is necessary, due to intrinsic properties of the Software Heritage archive, such as integrity verification and append-only archive changes. To clean the caches one can just remove the corresponding files -from disk. +from disk, or using a more fine-grained strategy, navigate the `cache/` +top-level directory and `rm <SWHID>` to purge specific artifacts. ### Metadata cache -- GitLab