sapling/eden/fs/store/git
Lee Howes f28ef8281c [] Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). - 2/11
Summary:
Part of the larger project to modify Future<T>::then to be r-value qualified and use Future<T>::thenTry or Future<T>::thenValue.

The goal is to disambiguate folly::Future and to improve type and lifetime safety of Future and its methods.

Codemod:
  future<T>.then(callable with operator()(not-a-try)) to future<T>.thenValue(callable with operator()(not-a-try)).
  future<T>.then(callable with operator()()) to future<T>.thenValue(callable with operator()(auto&&)).
  future<T>.then(callable with operator()(auto)) to future<T>.thenValue(callable with operator()(auto)).

Reviewed By: Orvid

Differential Revision: D9696716

fbshipit-source-id: d71433c75af8422b2f16733c0b18a417d5a4cf2e
2018-09-07 11:07:25 -07:00
..
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
GitBackingStore.cpp [] Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). - 2/11 2018-09-07 11:07:25 -07:00
GitBackingStore.h make LocalStore::getTree return a Future 2018-05-31 21:19:40 -07:00