mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
a759b25b7d
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 |
||
---|---|---|
.. | ||
git | ||
hg | ||
mononoke | ||
test | ||
BackingStore.cpp | ||
BackingStore.h | ||
BlobMetadata.h | ||
CMakeLists.txt | ||
Diff.cpp | ||
Diff.h | ||
EmptyBackingStore.cpp | ||
EmptyBackingStore.h | ||
IObjectStore.h | ||
LocalStore.cpp | ||
LocalStore.h | ||
MemoryLocalStore.cpp | ||
MemoryLocalStore.h | ||
ObjectStore.cpp | ||
ObjectStore.h | ||
RocksDbLocalStore.cpp | ||
RocksDbLocalStore.h | ||
SqliteLocalStore.cpp | ||
SqliteLocalStore.h | ||
StoreResult.cpp | ||
StoreResult.h |