sapling/eden/fs/testharness
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
..
test thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeBackingStore.cpp thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
FakeBackingStore.h thread ObjectFetchContext to backing store 2020-06-23 10:02:40 -07:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp replace some uses of memset 2020-01-31 10:50:48 -08:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakeObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakePrivHelper.cpp use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakePrivHelper.h use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeTreeBuilder.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp enable remotenames extension in cpp tests 2020-06-10 22:36:10 -07:00
HgRepo.h add getTreeForManifest 2019-12-09 16:25:27 -08:00
InodeUnloader.h enable the checkout tests on Windows 2020-04-26 21:14:24 -07:00
LoggingFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h refactor - move ObjectFetchContext to its own file 2020-06-23 10:02:40 -07:00
TestDispatcher.cpp adding ObjectFetchContext to lookup 2020-06-18 10:40:41 -07:00
TestDispatcher.h adding ObjectFetchContext to lookup 2020-06-18 10:40:41 -07:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
TestMount.h inodes: enable RemoveTest for Windows 2020-05-05 18:14:54 -07:00
TestServer.cpp introduce metadata importer 2020-07-10 16:03:32 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00