sapling/eden/fs/takeover
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 Replace Future<T>::getTry with Future<T>::result 2020-07-14 11:04:12 -07:00
CMakeLists.txt fbcode_builder: rename add_thrift_cpp2_library() to add_fbthrift_cpp_library() 2019-08-29 16:45:12 -07:00
takeover.thrift Tidy up license headers 2019-10-11 05:28:23 -07:00
TakeoverClient.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
TakeoverClient.h add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
TakeoverData.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
TakeoverData.h mount: unify EdenMount::initialize 2020-05-15 13:14:55 -07:00
TakeoverHandler.h add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
TakeoverServer.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
TakeoverServer.h add fault injection to TakeoverServer 2020-04-07 09:52:21 -07:00