mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
e4b6fd3751
Summary: This diff creates a new `InnerRepo` container, that contains `BlobRepo` as well as the skiplist index. The plan here is: - As of code organisation, `InnerRepo` will eventually contain most of the fields currently in `Repo`, as well as the fields of `BlobRepo` that are only used in binaries that use `Repo`. This way each binary will only build the "attribute fields" it needs to, but the code to build them can still be neatly shared. - As for `SkiplistIndex`, the plan is to be able to modify it inside `WarmBookmarksCache`, that's why I'm moving it to `InnerRepo` as well. I'll make bookmark warmers receive `InnerRepo` instead of `BlobRepo`, so they can access the skiplist index if wanted, and then modify it (this is an attempt to try to make skiplists faster on bookmarks). Reviewed By: StanislavGlebik Differential Revision: D28748221 fbshipit-source-id: bca31c14a6789a715a215cc69ad0a69b5e73404c |
||
---|---|---|
.. | ||
common | ||
if | ||
skiplist | ||
src | ||
test-helpers | ||
Cargo.toml |