aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorKevin Quick <kquick@galois.com>2020-09-28 09:34:23 -0700
committerKevin Quick <kquick@galois.com>2020-09-28 09:34:23 -0700
commit128c98ab0961ba234774508663f591758d3a2178 (patch)
tree00940a2334e1bdf44aee581815d5699d6a67fd68 /src/libexpr
parent5ae164b7cf2dd7ca1846f349b57131913aa7cf55 (diff)
Clarification in the description of the FlakeInput.
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/flake/flake.hh15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/libexpr/flake/flake.hh b/src/libexpr/flake/flake.hh
index 40476a137..44cf636b5 100644
--- a/src/libexpr/flake/flake.hh
+++ b/src/libexpr/flake/flake.hh
@@ -17,15 +17,16 @@ struct FlakeInput;
typedef std::map<FlakeId, FlakeInput> FlakeInputs;
-// FlakeInput is the flake-level parsed form of the "input" entries in
+// FlakeInput is the 'Flake'-level parsed form of the "input" entries in
// the flake file.
//
-// A FlakeInput is normally constructed by initially
-// first constructing a FlakeRef (a fetcher, the fetcher-specific
-// representation of the input specification, and the fetched local
-// store path result) and then creating this FlakeInput to hold that
-// FlakeRef, along with anything that might override that FlakeRef
-// (like command-line overrides or "follows" specifications).
+// A FlakeInput is normally constructed by the 'parseFlakeInput'
+// function which parses the input specification in the '.flake' file
+// to create a 'FlakeRef' (a fetcher, the fetcher-specific
+// representation of the input specification, and possibly the fetched
+// local store path result) and then creating this FlakeInput to hold
+// that FlakeRef, along with anything that might override that
+// FlakeRef (like command-line overrides or "follows" specifications).
//
// A FlakeInput is also sometimes constructed directly from a FlakeRef
// instead of starting at the flake-file input specification