From 80de4a4804bf16fe3266618cb79ad486dc6659ae Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Thu, 2 Jun 2022 23:20:11 +0200 Subject: [PATCH] operations diagram: store' to the right this also looks more diverse, hopefully easier to distinguish Co-authored-by: John Ericson --- doc/manual/src/architecture/store/store.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/manual/src/architecture/store/store.md b/doc/manual/src/architecture/store/store.md index 6ac210856..33777dc0d 100644 --- a/doc/manual/src/architecture/store/store.md +++ b/doc/manual/src/architecture/store/store.md @@ -26,14 +26,20 @@ A Nix store can *add*, *retrieve*, and *delete* store objects. [ data ] | V - [ store ] ---> add ----> [ store' ], [ reference ] + [ store ] ---> add ----> [ store' ] + | + V + [ reference ] [ reference ] | V - [ store ] ---> get ----> [ store object ] + [ store ] ---> get + | + V + [ store object ] @@ -49,7 +55,12 @@ It can *perform builds*, that is, create new store objects by transforming build [ reference ] | V - [ store ] --> build --(maybe)--> [ store' ], [ reference' ] + [ store ] --> build + \ + (maybe) --> [ store' ] + | + V + [ reference ] As it keeps track of references, it can [garbage-collect][garbage-collection] unused store objects.