1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 20:16:03 +01:00

Remove ServeProto::Command::ExportPaths

This seems to have been unused since the build-remote.pl removal in February 2017 (27dc76c1a5).
This commit is contained in:
Eelco Dolstra 2025-09-09 15:37:12 +02:00
parent fa048e4383
commit 9df99e0658
2 changed files with 0 additions and 7 deletions

View file

@ -108,7 +108,6 @@ enum struct ServeProto::Command : uint64_t {
QueryValidPaths = 1, QueryValidPaths = 1,
QueryPathInfos = 2, QueryPathInfos = 2,
DumpStorePath = 3, DumpStorePath = 3,
ExportPaths = 5,
BuildPaths = 6, BuildPaths = 6,
QueryClosure = 7, QueryClosure = 7,
BuildDerivation = 8, BuildDerivation = 8,

View file

@ -985,12 +985,6 @@ static void opServe(Strings opFlags, Strings opArgs)
store->narFromPath(store->parseStorePath(readString(in)), out); store->narFromPath(store->parseStorePath(readString(in)), out);
break; break;
case ServeProto::Command::ExportPaths: {
readInt(in); // obsolete
store->exportPaths(ServeProto::Serialise<StorePathSet>::read(*store, rconn), out);
break;
}
case ServeProto::Command::BuildPaths: { case ServeProto::Command::BuildPaths: {
if (!writeAllowed) if (!writeAllowed)