mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
73cdac45e3
Summary: Change derived data config to have "enabled" config and "backfilling" config. The `Mapping` object has the responsibility of encapsulating the configuration options for the derived data type. Since it is only possible to obtain a `Mapping` from appropriate configuration, ownership of a `Mapping` means derivation is permitted, and so the `DeriveMode` enum is removed. Most callers will use `BonsaiDerived::derive`, or a default `derived_data_utils` implementation that requires the derived data to be enabled and configured on the repo. Backfillers can additionally use `derived_data_utils_for_backfill` which will use the `backfilling` configuration in preference to the default configuration. Reviewed By: ahornby Differential Revision: D25246317 fbshipit-source-id: 352fe6509572409bc3338dd43d157f34c73b9eac |
||
---|---|---|
.. | ||
parser | ||
types |