Files
gerrit/java/com
Han-Wen Nienhuys 45653fb533 ChangeData: use a Java type for RefState rather than byte[]
The refState is a set of refs with SHA1s that fingerprints a document
in the ChangeIndex. Before it was represented as a repeated byte[]
field, which callers had to (de)serialize by calling
RefState#{parseStates,toByteArray}.

With this change, the (de)serialization is pushed out to the index
implementations.

Change-Id: Id49ccf3998b27d5c5f40124aaf1e3ad067a59b41
2021-02-17 10:17:43 +01:00
..