sapling/eden/mononoke/newfilenodes
Stanislau Hlebik 14e4d561b3 mononoke: add_filenodes now return FilenodeResult and removes TODO
Summary:
This diff migrates add_filenodes method to return FilenodeResult.
That means that all filenodes methods now return FilenodeResult and it's time
now to remove TODOs from derived_data filenodes.

Note that I had to change the test "derive_disabled_filenodes" a bit.
Previously FilenodesOnlyPublic::mapping::get() method immediately returned
FilenodesOnlyPublic::Disabled, while now it returns None if hg changeset is not
derived. This is an expected change in behaviour, so I just updated the test to
try to derive FilenodesOnlyPublic first, which in turns triggers generation of hg changeset.

Reviewed By: ahornby

Differential Revision: D21904401

fbshipit-source-id: f6f4cd14e6cdce5a4b95d8f3f9acff305ae6fa88
2020-06-10 19:29:29 -07:00
..
schemas mononoke/newfilenodes: introduce a queue-conscious filenodes implementation 2020-02-27 12:34:19 -08:00
src mononoke: add_filenodes now return FilenodeResult and removes TODO 2020-06-10 19:29:29 -07:00
Cargo.toml mononoke: return FilenodeResult from get_all_filenodes_maybe_stale 2020-06-10 19:29:16 -07:00