diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-08-06T02·46-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-08-08T17·51+0000 |
commit | 7db734afad313b8669623138130797fad797daa7 (patch) | |
tree | 7acf1dd3f641e47513d6beafe68344909d3115c7 /third_party/nix/src/libstore/rpc-store.hh | |
parent | cc01059d405e982e3a7de78e318374c3dbace48b (diff) |
feat(tvix): Implement AddToStoreNar r/1615
Implement both the client and server sides of AddToStoreNar, using a templated generalization of the sources and sinks we were using for AddToStore on both ends. Change-Id: I73d0ed34118c711b125851dff99a7518ced4af35 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1686 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
Diffstat (limited to 'third_party/nix/src/libstore/rpc-store.hh')
-rw-r--r-- | third_party/nix/src/libstore/rpc-store.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/third_party/nix/src/libstore/rpc-store.hh b/third_party/nix/src/libstore/rpc-store.hh index 0ef24e22b751..dd421caf44c4 100644 --- a/third_party/nix/src/libstore/rpc-store.hh +++ b/third_party/nix/src/libstore/rpc-store.hh @@ -56,12 +56,6 @@ class RpcStore : public LocalFSStore, public virtual Store { CheckSigsFlag checkSigs = CheckSigs, std::shared_ptr<FSAccessor> accessor = 0) override; - virtual void addToStore(const ValidPathInfo& info, - const ref<std::string>& nar, - RepairFlag repair = NoRepair, - CheckSigsFlag checkSigs = CheckSigs, - std::shared_ptr<FSAccessor> accessor = 0) override; - virtual Path addToStore(const std::string& name, const Path& srcPath, bool recursive = true, HashType hashAlgo = htSHA256, PathFilter& filter = defaultPathFilter, |