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