mirror of
https://github.com/NixOS/nix.git
synced 2025-12-02 15:11:00 +01:00
Merge InputAccessor into SourceAccessor
After the removal of the InputAccessor::fetchToStore() method, the only remaining functionality in InputAccessor was `fingerprint` and `getLastModified()`, and there is no reason to keep those in a separate class.
This commit is contained in:
parent
00ca2b05b8
commit
ba5929c7be
35 changed files with 130 additions and 188 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace nix {
|
||||
class Store;
|
||||
struct InputAccessor;
|
||||
struct SourceAccessor;
|
||||
}
|
||||
|
||||
namespace nix::fetchers {
|
||||
|
|
@ -32,7 +32,7 @@ struct DownloadTarballResult
|
|||
Hash treeHash;
|
||||
time_t lastModified;
|
||||
std::optional<std::string> immutableUrl;
|
||||
ref<InputAccessor> accessor;
|
||||
ref<SourceAccessor> accessor;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue