aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/fetchers.hh
diff options
context:
space:
mode:
authorKevin Quick <kquick@galois.com>2020-09-28 09:37:26 -0700
committerKevin Quick <kquick@galois.com>2020-09-28 09:37:26 -0700
commit887be7b6f233822f03d156dafa156276d59162fd (patch)
tree4422d2e6b422512232df646534595df930b6fe12 /src/libfetchers/fetchers.hh
parent128c98ab0961ba234774508663f591758d3a2178 (diff)
Switch comment format from '// ...' to '/* ... */' for consistency.
Diffstat (limited to 'src/libfetchers/fetchers.hh')
-rw-r--r--src/libfetchers/fetchers.hh28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh
index 6aa8a3422..84c954899 100644
--- a/src/libfetchers/fetchers.hh
+++ b/src/libfetchers/fetchers.hh
@@ -21,12 +21,13 @@ struct Tree
struct InputScheme;
-// The Input object is generated by a specific fetcher, based on the
-// user-supplied input attribute in the flake.nix file, and contains
-// the information that the specific fetcher needs to perform the
-// actual fetch. The Input object is most commonly created via the
-// "fromURL()" or "fromAttrs()" static functions which are provided the
-// url or attrset specified in the flake file.
+/* The Input object is generated by a specific fetcher, based on the
+ * user-supplied input attribute in the flake.nix file, and contains
+ * the information that the specific fetcher needs to perform the
+ * actual fetch. The Input object is most commonly created via the
+ * "fromURL()" or "fromAttrs()" static functions which are provided
+ * the url or attrset specified in the flake file.
+ */
struct Input
{
@@ -90,13 +91,14 @@ public:
};
-// The InputScheme represents a type of fetcher. Each fetcher
-// registers with nix at startup time. When processing an input for a
-// flake, each scheme is given an opportunity to "recognize" that
-// input from the url or attributes in the flake file's specification
-// and return an Input object to represent the input if it is
-// recognized. The Input object contains the information the fetcher
-// needs to actually perform the "fetch()" when called.
+/* The InputScheme represents a type of fetcher. Each fetcher
+ * registers with nix at startup time. When processing an input for a
+ * flake, each scheme is given an opportunity to "recognize" that
+ * input from the url or attributes in the flake file's specification
+ * and return an Input object to represent the input if it is
+ * recognized. The Input object contains the information the fetcher
+ * needs to actually perform the "fetch()" when called.
+ */
struct InputScheme
{