From 0862d7ce57f7e16cf7f8ded3db7586a20fa8da28 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 12 Feb 2024 11:26:02 -0500 Subject: [PATCH] Move around non-terminals --- doc/manual/src/protocols/store-path.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/manual/src/protocols/store-path.md b/doc/manual/src/protocols/store-path.md index 649bb4c45..61f9d1604 100644 --- a/doc/manual/src/protocols/store-path.md +++ b/doc/manual/src/protocols/store-path.md @@ -12,9 +12,13 @@ store-path = store-dir "/" digest "-" name ``` where +- `name` = the name of the store object. + +- `store-dir` = the [store directory](@docroot@/store/store-path.md#store-directory) + - `digest` = base-32 representation of the first 160 bits of a [SHA-256] hash of `fingerprint` - Th is :the hash part of the store name + This the hash part of the store name - `fingerprint` = the string @@ -25,10 +29,6 @@ where Note that it includes the location of the store as well as the name to make sure that changes to either of those are reflected in the hash (e.g. you won't get `/nix/store/-name1` and `/nix/store/-name2`, or `/gnu/store/-name1`, with equal hash parts). -- `name` = the name of the store object. - -- `store` = the [store directory](@docroot@/store/store-path.md#store-directory) - - `type` = one of: - ```ebnf