|
|
virtual std::string | type () const =0 |
|
virtual std::optional< std::pair< std::string, std::string > > | accessHeaderFromToken (const std::string &token) const =0 |
| std::optional< Input > | inputFromURL (const ParsedURL &url, bool requireTree) const override |
| std::optional< Input > | inputFromAttrs (const Attrs &attrs) const override |
| ParsedURL | toURL (const Input &input) const override |
| bool | hasAllInfo (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 std::string &host) const |
|
Headers | makeHeadersWithAuthTokens (const std::string &host) const |
|
virtual kj::Promise< Result< Hash > > | getRevFromRef (nix::ref< Store > store, const Input &input) const =0 |
|
virtual DownloadUrl | getDownloadUrl (const Input &input) const =0 |
| kj::Promise< Result< std::pair< StorePath, Input > > > | fetch (ref< Store > store, const Input &_input) override |
|
virtual void | clone (const Input &input, const Path &destDir) const |
|
virtual std::optional< 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 bool | isLockedByRev () const |
|
|
void | emplaceURLQueryIntoAttrs (const ParsedURL &parsedURL, Attrs &attrs, const StringSet &numericParams, const StringSet &booleanParams) const |
◆ applyOverrides()
| Input nix::fetchers::GitArchiveInputScheme::applyOverrides |
( |
const Input & | _input, |
|
|
std::optional< std::string > | ref, |
|
|
std::optional< Hash > | rev ) const |
|
inlineoverridevirtual |
◆ fetch()
| kj::Promise< Result< std::pair< StorePath, Input > > > nix::fetchers::GitArchiveInputScheme::fetch |
( |
ref< Store > | store, |
|
|
const Input & | _input ) |
|
inlineoverridevirtual |
◆ hasAllInfo()
| bool nix::fetchers::GitArchiveInputScheme::hasAllInfo |
( |
const Input & | input | ) |
const |
|
inlineoverridevirtual |
◆ inputFromAttrs()
| std::optional< Input > nix::fetchers::GitArchiveInputScheme::inputFromAttrs |
( |
const Attrs & | attrs | ) |
const |
|
inlineoverridevirtual |
◆ inputFromURL()
| std::optional< Input > nix::fetchers::GitArchiveInputScheme::inputFromURL |
( |
const ParsedURL & | url, |
|
|
bool | requireTree ) const |
|
inlineoverridevirtual |
◆ toURL()
| ParsedURL nix::fetchers::GitArchiveInputScheme::toURL |
( |
const Input & | input | ) |
const |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following file:
- lix/libfetchers/github.cc