sapling/lib/manifest
Arun Kulshreshtha dbf37904d4 manifest: add prefetch method to store interface
Summary:
Add a `prefetch` method to the `TreeStore` trait. This will be used by code using the store to signal that certain keys will be accessed soon. The default implementation is a no-op, but in the case of stores where prefetching makes sense (such as stores backed by remote servers), the default implementation can be overridden to include the appropriate prefetching logic.

For now, this change is a no-op, but later in this stack it will be used to signal to the underlying Python data store to perform the appropriate tree fetches via the Eden API. This will be used to support a more efficient pattern of bulk tree fetches during the diff operation.

Reviewed By: sfilipco

Differential Revision: D17276970

fbshipit-source-id: 22a5d847e5be5dbf1b0a74b47587a98d840b8cdc
2019-09-12 10:24:45 -07:00
..
src manifest: add prefetch method to store interface 2019-09-12 10:24:45 -07:00
Cargo.toml rust-crates-io: add gotham_derive 2019-09-03 14:57:52 -07:00