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

Public Member Functions

std::string_view schemeName () const override
std::optional< std::pair< std::string, std::string > > accessHeaderFromToken (const std::string &token) const override
RefInfo getRevFromRef (nix::ref< Store > store, const Input &input) const override
DownloadUrl getDownloadUrl (const Input &input) const override
void clone (const Input &input, const Path &destDir) const override
Public Member Functions inherited from nix::fetchers::GitArchiveInputScheme
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
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

Member Function Documentation

◆ accessHeaderFromToken()

std::optional< std::pair< std::string, std::string > > nix::fetchers::GitLabInputScheme::accessHeaderFromToken ( const std::string & token) const
inlineoverridevirtual

◆ getDownloadUrl()

DownloadUrl nix::fetchers::GitLabInputScheme::getDownloadUrl ( const Input & input) const
inlineoverridevirtual

◆ getRevFromRef()

RefInfo nix::fetchers::GitLabInputScheme::getRevFromRef ( nix::ref< Store > store,
const Input & input ) const
inlineoverridevirtual

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/nix-2.30.0-build/nix-2.30.0/src/libfetchers/github.cc