Skip to content

Commit b58edab

Browse files
Ericson2314roberth
andauthored
Apply suggestions from code review
Co-authored-by: Robert Hensing <[email protected]>
1 parent 7f60ff5 commit b58edab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/manual/source/store/resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Derivations that only have store paths as inputs are likewise called *resolved d
77

88
[Deriving paths][deriving-path] intentionally make it possible to refer to the same [store object] in multiple ways.
99
This is a consequence of content-addressing, since different derivations can produce the same outputs, and the same date can also be manually added to the store.
10-
This is also a consequence even of input-addressing, as an output can be referred to by derivation and output name, or directly by its store path input address.
10+
This is also a consequence even of input-addressing, as an output can be referred to by derivation and output name, or directly by its [computed](./outputs/input-address.md) store path.
1111
Since dereferencing deriving paths is thus not injective, it induces an equivalence relation on deriving paths.
1212

1313
Let's call this equivalence relation \\(\\sim\\), where \\(p_1 \\sim p_2\\) means that deriving paths \\(p_1\\) and \\(p_2\\) refer to the same store object.
@@ -49,7 +49,7 @@ $}
4949
Derivation resolution always maps derivations to input-content-equivalent derivations.
5050

5151
Similar to evaluation, we can also speak of *partial* vs *total* derivation resolution.
52-
Total resolution is the function described above.
52+
Total resolution is the _resolve_ function described above.
5353
For partial resolution, a derivation is related to equivalent derivations with the same or simpler inputs, but not all those inputs will be plain store paths.
5454
This is useful when the input refers to a floating content addressed output we have not yet built --- we don't know what (content-address) store path will used for that derivation, so we are "stuck" trying to resolve derived path in question.
5555
Partial resolution is not a function, but an (assymetic) relation, created by directing the above equivalence relation so the right-side items are always equal or simpler.

0 commit comments

Comments
 (0)