aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-06-09 14:17:28 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 12:37:47 +0200
commit348432f48ffaf084c7ba1397fe63d805891bb68d (patch)
tree9c2daf3bb70cee44516370502e2507925d32d940
parentec43977553e605370d160ad0f852c15d0c754e74 (diff)
store: add concept map
this should help nativate the chapter by indicating which terms should be known to understand a given concept.
-rw-r--r--doc/manual/src/architecture/store/store.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/manual/src/architecture/store/store.md b/doc/manual/src/architecture/store/store.md
index 403a23bbd..ed250ce0c 100644
--- a/doc/manual/src/architecture/store/store.md
+++ b/doc/manual/src/architecture/store/store.md
@@ -3,6 +3,28 @@
A Nix store is a collection of *store objects* with references between them.
It supports operations to manipulate that collection.
+The following concept map is a graphical outline of this chapter.
+Arrows indicate suggested reading order.
+
+```
+ ,----------------------[ store ]
+ | |
+ v v
+ [ store object ] [ operations ]----------------------,
+ | | |
+ v v |
+ [ files and processes ] [ build ]--------->[ derivation ] |
+ | | | | |
+ v v v v |
+ [ file system object ] [ store path ]--->[ reference scanning ]--->[ closure ] |
+ | ^ | |
+ v | v v
+ [ digest ]--------------' [ garbage collection ]
+ / \
+ v v
+[ input addressing ] [ content addressing ]
+```
+
## Store Object {#store-object}
A store object can hold