mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 17:58:27 +03:00
b9b1f1e907
Summary: `Index::open` now takes too many parameters, which is not very convenient to use. Inspired by `fs::OpenOptions`, use a dedicated strut for specifying open options. Motivation: To test checksum ability more confidently, I'd like to write something that randomly mutates 1 byte from a sane index. To make sure the checksum coverage is "correct", checksum chunk size is another parameter. Reviewed By: DurhamG Differential Revision: D7464182 fbshipit-source-id: 469ce7d1cfa5de3946028418567a9f3e2bc303fa |
||
---|---|---|
.. | ||
index.rs | ||
misc.rs |