sapling/eden/fs/store
Victor Zverovich e3f4a56f6b Migrate to field_ref Thrift API
Summary:
We are unifying C++ APIs for accessing optional and unqualified fields:
https://fb.workplace.com/groups/1730279463893632/permalink/2541675446087359/.

This diff migrates code from accessing data members generated from unqualified
Thrift fields directly to the `field_ref` API, i.e. replacing

```
thrift_obj.field
```

with

```
*thrift_obj.field_ref()
```

The `_ref` suffixes will be removed in the future once data members are private
and names can be reclaimed.

The output of this codemod has been reviewed in D20039637.

The new API is documented in
https://our.intern.facebook.com/intern/wiki/Thrift/FieldAccess/.

drop-conflicts

Reviewed By: yfeldblum

Differential Revision: D22631599

fbshipit-source-id: 9bfcaeb636f34a32fd871c7cd6a2db4a7ace30bf
2020-07-21 11:23:35 -07:00
..
git thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
hg Replace Future::getTry with Future::result 2020-07-13 14:14:30 -07:00
test Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
BackingStore.h thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
BackingStoreLogger.cpp eden: fix windows build 2020-06-24 15:12:47 -07:00
BackingStoreLogger.h add data fetch logger 2020-06-23 10:02:41 -07:00
BlobAccess.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
BlobAccess.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
BlobCache.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt remove Mononoke usage in HgBackingStore 2020-05-05 20:59:02 -07:00
Diff.cpp Rename collectXSemiFuture to collectX 2020-04-03 17:15:08 -07:00
Diff.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
DiffContext.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffContext.h count fetch statistics during diff and checkout 2020-02-05 16:05:29 -08:00
eden_store_util.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
EmptyBackingStore.cpp thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
EmptyBackingStore.h thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
ImportPriority.h implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
IObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
KeySpace.cpp eden: fix compilation on latest vs2017 2020-05-06 15:05:37 -07:00
KeySpace.h introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00
LocalStore.cpp tree metdata storage 2020-07-10 16:03:32 -07:00
LocalStore.h tree metdata storage 2020-07-10 16:03:32 -07:00
MemoryLocalStore.cpp restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
MemoryLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
ObjectFetchContext.cpp make FuseRequest high priority & TreePrefetchLease low priority 2020-07-02 12:00:45 -07:00
ObjectFetchContext.h make FuseRequest high priority & TreePrefetchLease low priority 2020-07-02 12:00:45 -07:00
ObjectStore.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
ObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
RocksDbLocalStore.cpp open all RocksDB column families for backwards compatabiliy 2020-07-09 10:28:14 -07:00
RocksDbLocalStore.h add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
ScmStatusDiffCallback.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
ScmStatusDiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.cpp introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00
SerializedBlobMetadata.h introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00
SqliteLocalStore.cpp clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
SqliteLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
StatsFetchContext.cpp add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StatsFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoreResult.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
StoreResult.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TreeMetadata.cpp introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00
TreeMetadata.h introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00