|
std::string_view | schemeName () const override |
|
bool | isValidURL (const ParsedURL &url, bool requireTree) const override |
|
std::pair< ref< SourceAccessor >, Input > | getAccessor (ref< Store > store, const Input &_input) const override |
|
std::optional< std::string > | getFingerprint (ref< Store > store, const Input &input) const override |
|
bool | hasTarballExtension (std::string_view path) const |
|
std::optional< Input > | inputFromURL (const Settings &settings, const ParsedURL &_url, bool requireTree) 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 |
|
bool | isLocked (const Input &input) const override |
|
virtual Input | applyOverrides (const Input &input, std::optional< std::string > ref, std::optional< Hash > rev) const |
|
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< ExperimentalFeature > | experimentalFeature () const |
|
virtual bool | isDirect (const Input &input) const |
|
virtual std::optional< std::string > | isRelative (const Input &input) const |
|
|
const std::set< std::string > | transportUrlSchemes = {"file", "http", "https"} |
|
static const std::set< std::string > | specialParams |
|
◆ getAccessor()
◆ getFingerprint()
std::optional< std::string > nix::fetchers::TarballInputScheme::getFingerprint |
( |
ref< Store > | store, |
|
|
const Input & | input ) const |
|
inlineoverridevirtual |
◆ isValidURL()
bool nix::fetchers::TarballInputScheme::isValidURL |
( |
const ParsedURL & | url, |
|
|
bool | requireTree ) const |
|
inlineoverridevirtual |
◆ schemeName()
std::string_view nix::fetchers::TarballInputScheme::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.
The documentation for this struct was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libfetchers/tarball.cc