| 16 | |
| 17 | template <unsigned BlockSize, storage::Ownership Ownership> |
| 18 | void write(storage::tar::FileWriter &writer, |
| 19 | const std::string &name, |
| 20 | const util::RangeTable<BlockSize, Ownership> &table) |
| 21 | { |
| 22 | writer.WriteFrom(name + "/sum_lengths.meta", table.sum_lengths); |
| 23 | storage::serialization::write(writer, name + "/block_offsets", table.block_offsets); |
| 24 | storage::serialization::write(writer, name + "/diff_blocks", table.diff_blocks); |
| 25 | } |
| 26 | |
| 27 | template <unsigned BlockSize, storage::Ownership Ownership> |
| 28 | void read(storage::tar::FileReader &reader, |
no test coverage detected