Move around non-terminals

This commit is contained in:
John Ericson 2024-02-12 11:26:02 -05:00
parent eb76b35efa
commit 0862d7ce57

View file

@ -12,9 +12,13 @@ store-path = store-dir "/" digest "-" name
``` ```
where 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` - `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 - `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 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/<digest>-name1` and `/nix/store/<digest>-name2`, or `/gnu/store/<digest>-name1`, with equal hash parts). (e.g. you won't get `/nix/store/<digest>-name1` and `/nix/store/<digest>-name2`, or `/gnu/store/<digest>-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: - `type` = one of:
- ```ebnf - ```ebnf