Nix 2.28.2
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::fetchers::GitArchiveInputScheme Struct Referenceabstract
Inheritance diagram for nix::fetchers::GitArchiveInputScheme:
nix::fetchers::GitHubInputScheme nix::fetchers::GitLabInputScheme nix::fetchers::SourceHutInputScheme

Classes

struct  RefInfo
 
struct  TarballInfo
 

Public Member Functions

virtual std::optional< std::pair< std::string, std::string > > accessHeaderFromToken (const std::string &token) const =0
 
std::optional< Input > inputFromURL (const fetchers::Settings &settings, const ParsedURL &url, bool requireTree) const override
 
StringSet allowedAttrs () const override
 
std::optional< Input > inputFromAttrs (const fetchers::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::optional< std::string > getAccessToken (const fetchers::Settings &settings, const std::string &host, const std::string &url) const override
 
Headers makeHeadersWithAuthTokens (const fetchers::Settings &settings, const std::string &host, const Input &input) const
 
Headers makeHeadersWithAuthTokens (const fetchers::Settings &settings, const std::string &host, const std::string &hostAndPath) const
 
virtual RefInfo getRevFromRef (nix::ref< Store > store, const Input &input) const =0
 
virtual DownloadUrl getDownloadUrl (const Input &input) const =0
 
std::pair< Input, TarballInfodownloadArchive (ref< Store > store, Input input) const
 
std::pair< ref< SourceAccessor >, Input > getAccessor (ref< Store > store, const Input &_input) const override
 
bool isLocked (const Input &input) const override
 
std::optional< ExperimentalFeature > experimentalFeature () const override
 
std::optional< std::string > getFingerprint (ref< Store > store, const Input &input) const override
 

The documentation for this struct was generated from the following file: