![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <regex>#include <iosfwd>#include <string>#include <tuple>#include <utility>#include "nix/store/outputs-spec.hh"#include "nix/fetchers/registry.hh"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 (std::string_view url, const std::optional< std::filesystem::path > &baseDir, bool allowMissing, bool isFlake, bool preserveRelativePaths) |
| std::pair< FlakeRef, std::string > | nix::parseFlakeRefWithFragment (std::string_view url, const std::optional< std::filesystem::path > &baseDir, bool allowMissing, bool isFlake, bool preserveRelativePaths) |
| std::tuple< FlakeRef, std::string, ExtendedOutputsSpec > | nix::parseFlakeRefWithFragmentAndExtendedOutputsSpec (std::string_view url, const std::optional< std::filesystem::path > &baseDir, bool allowMissing, bool isFlake) |
Variables | |
| std::regex | nix::flakeIdRegex |
| FlakeRef nix::parseFlakeRef | ( | std::string_view | url, |
| const std::optional< std::filesystem::path > & | baseDir = {}, | ||
| bool | allowMissing = false, | ||
| bool | isFlake = true, | ||
| bool | preserveRelativePaths = false ) |
| baseDir | Optional base directory |
| std::pair< FlakeRef, std::string > nix::parseFlakeRefWithFragment | ( | std::string_view | url, |
| const std::optional< std::filesystem::path > & | baseDir = {}, | ||
| bool | allowMissing = false, | ||
| bool | isFlake = true, | ||
| bool | preserveRelativePaths = false ) |
| baseDir | Optional base directory |
| std::tuple< FlakeRef, std::string, ExtendedOutputsSpec > nix::parseFlakeRefWithFragmentAndExtendedOutputsSpec | ( | std::string_view | url, |
| const std::optional< std::filesystem::path > & | baseDir = {}, | ||
| bool | allowMissing = false, | ||
| bool | isFlake = true ) |
| baseDir | Optional base directory |