Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests for forEachDeltaForwards pt3: early exit
Summary: # Context forEachDelta is a function that allows users to call a callback on each delta recorded in EdenFS Journal starting from the current delta towards a specified point. The existing implementation has some issues, such as not being able to cancel iteration based on the current conditions(eg. too many results), and needing to reverse the results at the end for desired order. # This Diff This diff adds tests for forEachDeltaForwards This test case covers the following cases: 1) When a callback returns false, forEachDelta will stop iteration at the current point. # Discussion Reviewed By: jdelliot Differential Revision: D68468618 fbshipit-source-id: c05fff1879cac0e55fd5be5109f30c42ecdea0e0
- Loading branch information