|
std::optional< Input > | inputFromURL (const Settings &settings, const ParsedURL &url, bool requireTree) const override |
|
std::string_view | schemeName () const override |
|
StringSet | allowedAttrs () const override |
|
std::optional< Input > | inputFromAttrs (const Settings &settings, const Attrs &attrs) const override |
|
ParsedURL | toURL (const Input &input) const override |
|
Input | applyOverrides (const Input &_input, std::optional< std::string > ref, std::optional< Hash > rev) const override |
|
std::pair< ref< SourceAccessor >, Input > | getAccessor (ref< Store > store, const Input &input) const override |
|
std::optional< ExperimentalFeature > | experimentalFeature () const override |
|
bool | isDirect (const Input &input) const override |
|
virtual void | clone (const Input &input, const Path &destDir) const |
|
virtual std::optional< std::filesystem::path > | getSourcePath (const Input &input) const |
|
virtual void | putFile (const Input &input, const CanonPath &path, std::string_view contents, std::optional< std::string > commitMsg) const |
|
virtual std::optional< std::string > | getFingerprint (ref< Store > store, const Input &input) const |
|
virtual bool | isLocked (const Input &input) const |
|
virtual std::optional< std::string > | isRelative (const Input &input) const |
|
◆ allowedAttrs()
StringSet nix::fetchers::IndirectInputScheme::allowedAttrs |
( |
| ) |
const |
|
inlineoverridevirtual |
Allowed attributes in an attribute set that is converted to an input.
type
is not included from this set, because the type
field is parsed first to choose which scheme; type
is always required.
Implements nix::fetchers::InputScheme.
◆ applyOverrides()
Input nix::fetchers::IndirectInputScheme::applyOverrides |
( |
const Input & | _input, |
|
|
std::optional< std::string > | ref, |
|
|
std::optional< Hash > | rev ) const |
|
inlineoverridevirtual |
◆ experimentalFeature()
std::optional< ExperimentalFeature > nix::fetchers::IndirectInputScheme::experimentalFeature |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getAccessor()
◆ inputFromAttrs()
std::optional< Input > nix::fetchers::IndirectInputScheme::inputFromAttrs |
( |
const Settings & | settings, |
|
|
const Attrs & | attrs ) const |
|
inlineoverridevirtual |
◆ inputFromURL()
std::optional< Input > nix::fetchers::IndirectInputScheme::inputFromURL |
( |
const Settings & | settings, |
|
|
const ParsedURL & | url, |
|
|
bool | requireTree ) const |
|
inlineoverridevirtual |
◆ isDirect()
bool nix::fetchers::IndirectInputScheme::isDirect |
( |
const Input & | input | ) |
const |
|
inlineoverridevirtual |
◆ schemeName()
std::string_view nix::fetchers::IndirectInputScheme::schemeName |
( |
| ) |
const |
|
inlineoverridevirtual |
What is the name of the scheme?
The type
attribute is used to select which input scheme is used, and then the other fields are forwarded to that input scheme.
Implements nix::fetchers::InputScheme.
◆ toURL()
ParsedURL nix::fetchers::IndirectInputScheme::toURL |
( |
const Input & | input | ) |
const |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libfetchers/indirect.cc