| 292 | const KeyRef checkpointPrefix = "\xff/checkpoint/"_sr; |
| 293 | |
| 294 | const Key checkpointKeyFor(UID checkpointID) { |
| 295 | BinaryWriter wr(Unversioned()); |
| 296 | wr.serializeBytes(checkpointPrefix); |
| 297 | wr << checkpointID; |
| 298 | return wr.toValue(); |
| 299 | } |
| 300 | |
| 301 | const Value checkpointValue(const CheckpointMetaData& checkpoint) { |
| 302 | return ObjectWriter::toValue(checkpoint, IncludeVersion()); |
no test coverage detected