* Implement RemoteStore::queryValidPaths().

This commit is contained in:
Eelco Dolstra 2010-02-26 12:05:01 +00:00
parent e42401ee7b
commit 24035b98b1
3 changed files with 12 additions and 1 deletions

View file

@ -520,6 +520,14 @@ static void performOp(unsigned int clientVersion,
break;
}
case wopQueryValidPaths: {
startWork();
PathSet paths = store->queryValidPaths();
stopWork();
writeStringSet(paths, to);
break;
}
default:
throw Error(format("invalid operation %1%") % op);
}