diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-01 11:09:47 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-01 11:10:30 -0500 |
commit | b7f01a82a9b0b2c66bb5d58e1518a113d20e79c5 (patch) | |
tree | 799c51050889d1e3e1e5503e28db5c6d7cdd0b8c /src/libstore | |
parent | 306e5c5ce5a38fecb90b2d2a3c6159fd2ad9c5cc (diff) |
Remove dead code `RemoteStore::sameMachine`
It has been dead code since 9747ea84b43c75f719d719673b9d0a7cb50d34e5.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/remote-store.hh | 2 | ||||
-rw-r--r-- | src/libstore/ssh-store.cc | 3 | ||||
-rw-r--r-- | src/libstore/uds-remote-store.hh | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh index 11d089cd2..8cd7cc822 100644 --- a/src/libstore/remote-store.hh +++ b/src/libstore/remote-store.hh @@ -38,8 +38,6 @@ class RemoteStore : public virtual RemoteStoreConfig, { public: - virtual bool sameMachine() = 0; - RemoteStore(const Params & params); /* Implementations of abstract store API methods. */ diff --git a/src/libstore/ssh-store.cc b/src/libstore/ssh-store.cc index a1d4daafd..cfa063803 100644 --- a/src/libstore/ssh-store.cc +++ b/src/libstore/ssh-store.cc @@ -49,9 +49,6 @@ public: return *uriSchemes().begin() + "://" + host; } - bool sameMachine() override - { return false; } - // FIXME extend daemon protocol, move implementation to RemoteStore std::optional<std::string> getBuildLogExact(const StorePath & path) override { unsupported("getBuildLogExact"); } diff --git a/src/libstore/uds-remote-store.hh b/src/libstore/uds-remote-store.hh index f8dfcca70..d31a4d592 100644 --- a/src/libstore/uds-remote-store.hh +++ b/src/libstore/uds-remote-store.hh @@ -29,9 +29,6 @@ public: static std::set<std::string> uriSchemes() { return {"unix"}; } - bool sameMachine() override - { return true; } - ref<FSAccessor> getFSAccessor() override { return LocalFSStore::getFSAccessor(); } |