mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 12:41:00 +01:00
parent
7d8c99eb43
commit
906d56a96b
3 changed files with 9 additions and 1 deletions
|
|
@ -29,6 +29,8 @@ public:
|
|||
const Setting<unsigned int> maxConnectionAge{(Store*) this, std::numeric_limits<unsigned int>::max(),
|
||||
"max-connection-age", "number of seconds to reuse a connection"};
|
||||
|
||||
virtual bool sameMachine() = 0;
|
||||
|
||||
RemoteStore(const Params & params);
|
||||
|
||||
/* Implementations of abstract store API methods. */
|
||||
|
|
@ -146,6 +148,9 @@ public:
|
|||
|
||||
std::string getUri() override;
|
||||
|
||||
bool sameMachine()
|
||||
{ return true; }
|
||||
|
||||
private:
|
||||
|
||||
ref<RemoteStore::Connection> openConnection() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue