Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
flakeref.hh File Reference
#include "lix/libutil/types.hh"
#include "lix/libutil/hash.hh"
#include "lix/libfetchers/fetchers.hh"
#include "lix/libstore/outputs-spec.hh"
#include <variant>
Include dependency graph for flakeref.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nix::FlakeRef
 

Typedefs

typedef std::string nix::FlakeId
 

Functions

std::ostream & nix::operator<< (std::ostream &str, const FlakeRef &flakeRef)
 
FlakeRef nix::parseFlakeRef (const std::string &url, const std::optional< Path > &baseDir, bool allowMissing, bool isFlake)
 
std::optional< FlakeRefnix::maybeParseFlake (const std::string &url, const std::optional< Path > &baseDir={})
 
std::pair< FlakeRef, std::string > nix::parseFlakeRefWithFragment (const std::string &url, const std::optional< Path > &baseDir, bool allowMissing, bool isFlake)
 
std::optional< std::pair< FlakeRef, std::string > > nix::maybeParseFlakeRefWithFragment (const std::string &url, const std::optional< Path > &baseDir)
 
std::tuple< FlakeRef, std::string, ExtendedOutputsSpecnix::parseFlakeRefWithFragmentAndExtendedOutputsSpec (const std::string &url, const std::optional< Path > &baseDir, bool allowMissing, bool isFlake)