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

Classes

struct  RepoInfo
 

Public Member Functions

std::optional< Input > inputFromURL (const Settings &settings, const ParsedURL &url, bool requireTree) const override
 
std::string_view schemeName () 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
 
Input applyOverrides (const Input &input, std::optional< std::string > ref, std::optional< Hash > rev) const override
 
void clone (const Input &input, const Path &destDir) const override
 
std::optional< std::filesystem::path > getSourcePath (const Input &input) const override
 
void putFile (const Input &input, const CanonPath &path, std::string_view contents, std::optional< std::string > commitMsg) const override
 
bool getShallowAttr (const Input &input) const
 
bool getSubmodulesAttr (const Input &input) const
 
bool getLfsAttr (const Input &input) const
 
bool getExportIgnoreAttr (const Input &input) const
 
bool getAllRefsAttr (const Input &input) const
 
RepoInfo getRepoInfo (const Input &input) const
 
uint64_t getLastModified (const RepoInfo &repoInfo, const std::filesystem::path &repoDir, const Hash &rev) const
 
uint64_t getRevCount (const RepoInfo &repoInfo, const std::filesystem::path &repoDir, const Hash &rev) const
 
std::string getDefaultRef (const RepoInfo &repoInfo) const
 
void verifyCommit (const Input &input, std::shared_ptr< GitRepo > repo) const
 
std::pair< ref< SourceAccessor >, Input > getAccessorFromCommit (ref< Store > store, RepoInfo &repoInfo, Input &&input) const
 
std::pair< ref< SourceAccessor >, Input > getAccessorFromWorkdir (ref< Store > store, RepoInfo &repoInfo, Input &&input) const
 
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 isLocked (const Input &input) const override
 

Static Public Member Functions

static MakeNotAllowedError makeNotAllowedError (std::filesystem::path repoPath)
 

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