sapling/eden/fs/store
Lee Howes a759b25b7d Future<T>::then Future<T>::then() -> Future<T>::thenValue or thenTry.
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)).
  future<T>.then(callable with operator()(folly::Try<T>)) to future<T>.thenTry(callable)

Reviewed By: Orvid

Differential Revision: D10227086

fbshipit-source-id: 1bb31c91cc65e28291e39302627f97801bfde15c
2018-10-07 17:06:49 -07:00
..
git [] Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). - 2/11 2018-09-07 11:07:25 -07:00
hg clang-format 2018-10-02 10:07:38 -07:00
mononoke Future<T>::then Future<T>::then() -> Future<T>::thenValue or thenTry. 2018-10-07 17:06:49 -07:00
test use rvalue-qual Future::get(...) 2018-07-09 08:51:43 -07:00
BackingStore.cpp re-verify blob contents for empty blobs loaded from the LocalStore 2018-08-23 14:22:58 -07:00
BackingStore.h re-verify blob contents for empty blobs loaded from the LocalStore 2018-08-23 14:22:58 -07:00
BlobMetadata.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
Diff.cpp Future<T>::then Future<T>::then() -> Future<T>::thenValue or thenTry. 2018-09-14 17:10:57 -07:00
Diff.h add a function for diffing source control commits 2018-03-20 16:47:12 -07:00
EmptyBackingStore.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
EmptyBackingStore.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
IObjectStore.h clang-format 2018-10-02 10:07:38 -07:00
LocalStore.cpp [] Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). - 2/11 2018-09-07 11:07:25 -07:00
LocalStore.h Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
MemoryLocalStore.cpp use F14NodeMap with heterogeneous lookup / mutation as StringKeyedUnorderedMap|Set 2018-08-23 12:07:15 -07:00
MemoryLocalStore.h add eden gc command 2018-08-10 11:38:20 -07:00
ObjectStore.cpp clang-format 2018-10-02 10:07:38 -07:00
ObjectStore.h prefetch file batch for hg import helper 2018-05-25 13:51:27 -07:00
RocksDbLocalStore.cpp add eden gc command 2018-08-10 11:38:20 -07:00
RocksDbLocalStore.h add eden gc command 2018-08-10 11:38:20 -07:00
SqliteLocalStore.cpp add eden gc command 2018-08-10 11:38:20 -07:00
SqliteLocalStore.h add eden gc command 2018-08-10 11:38:20 -07:00
StoreResult.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
StoreResult.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00