|
|
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 |
| const std::map< std::string, AttributeInfo > & | allowedAttrs () const override |
| std::optional< Input > | inputFromAttrs (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 (const Settings &settings, nix::Store &store, const Input &input) const =0 |
|
virtual DownloadUrl | getDownloadUrl (const Settings &settings, const Input &input) const =0 |
|
std::pair< Input, TarballInfo > | downloadArchive (const Settings &settings, Store &store, Input input) const |
| std::pair< ref< SourceAccessor >, Input > | getAccessor (const Settings &settings, Store &store, const Input &_input) const override |
| bool | isLocked (const Settings &settings, const Input &input) const override |
| std::optional< ExperimentalFeature > | experimentalFeature () const override |
| std::optional< std::string > | getFingerprint (Store &store, const Input &input) const override |
| virtual std::string_view | schemeName () const =0 |
| virtual std::string | schemeDescription () const =0 |
|
virtual void | clone (const Settings &settings, Store &store, const Input &input, const std::filesystem::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 bool | isDirect (const Input &input) const |
|
virtual std::optional< std::filesystem::path > | isRelative (const Input &input) const |
| virtual std::optional< ParsedURL > | localRepoURL (const std::filesystem::path &path) const |