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

Remove WorkerProto::Op::ExportPath

This was obsoleted in May 2016 (538a64e8c3).
This commit is contained in:
Eelco Dolstra 2025-09-09 13:36:01 +02:00
parent 137a55122c
commit 4fb61bc5af
2 changed files with 0 additions and 12 deletions

View file

@ -546,17 +546,6 @@ static void performOp(
break; break;
} }
case WorkerProto::Op::ExportPath: {
auto path = store->parseStorePath(readString(conn.from));
readInt(conn.from); // obsolete
logger->startWork();
TunnelSink sink(conn.to);
store->exportPath(path, sink);
logger->stopWork();
conn.to << 1;
break;
}
case WorkerProto::Op::ImportPaths: { case WorkerProto::Op::ImportPaths: {
logger->startWork(); logger->startWork();
TunnelSource source(conn.from, conn.to); TunnelSource source(conn.from, conn.to);

View file

@ -152,7 +152,6 @@ enum struct WorkerProto::Op : uint64_t {
AddIndirectRoot = 12, AddIndirectRoot = 12,
SyncWithGC = 13, SyncWithGC = 13,
FindRoots = 14, FindRoots = 14,
ExportPath = 16, // obsolete
QueryDeriver = 18, // obsolete QueryDeriver = 18, // obsolete
SetOptions = 19, SetOptions = 19,
CollectGarbage = 20, CollectGarbage = 20,