mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 23:42:43 +01:00
Merge branch 'nix-doctor' of https://github.com/LnL7/nix
This commit is contained in:
commit
63575ffa38
7 changed files with 139 additions and 0 deletions
|
|
@ -693,6 +693,13 @@ void RemoteStore::connect()
|
|||
}
|
||||
|
||||
|
||||
unsigned int RemoteStore::getProtocol()
|
||||
{
|
||||
auto conn(connections->get());
|
||||
return conn->daemonVersion;
|
||||
}
|
||||
|
||||
|
||||
void RemoteStore::flushBadConnections()
|
||||
{
|
||||
connections->flushBad();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue