pub fn dispatch(workdir: &Path, req: &RpcRequest) -> ValueExpand description
Route one parsed request to its handler and build the response
envelope. Pure of any socket concern; git I/O only. The single place
that knows the method set, shared verbatim by the CLI-equivalent
surface so list/doctor/path over RPC match the --format=json
flags.