sapling/eden/fs/journal
Victor Zverovich 5914a60995 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: iahs

Differential Revision: D22764126

fbshipit-source-id: 67b1bc6d4a9135f594d78325cee8a194255bdcb8
2020-07-28 14:32:44 -07:00
..
test Migrate to field_ref Thrift API 2020-07-28 14:32:44 -07:00
CMakeLists.txt journal: add tests to CMake 2020-05-07 10:07:31 -07:00
Journal.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
Journal.h rename tracing to telemetry 2019-10-15 13:39:41 -07:00
JournalDelta.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
JournalDelta.h Tidy up license headers 2019-10-11 05:28:23 -07:00