mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 06:01:00 +01:00
Switch comment format from '// ...' to '/* ... */' for consistency.
This commit is contained in:
parent
128c98ab09
commit
887be7b6f2
3 changed files with 57 additions and 53 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue