sapling/eden
Arun Kulshreshtha 6849666105 edenapi_types: add metadata field to DataEntry
Summary:
Add a metadata field to `read_res` containing a `revisionstore::Metadata` struct (which contains the object size and flags). The main purpose of this is to support LFS, which is indicated via a metadata flag.

Although this change affects the `DataEntry` struct which is serialized over the wire, version skew between the client and server should not break things since the field will automatically be populated with a default value if it is missing in the serialized response, and ignored if the client was built with an earlier version of the code without this field.

In practice, version skew isn't really a concern since this isn't used in production yet.

Reviewed By: quark-zju

Differential Revision: D22544195

fbshipit-source-id: 0af5c0565c17bdd61be5d346df008c92c5854e08
2020-07-16 13:32:19 -07:00
..
fs add 4k random writes benchmark 2020-07-14 16:13:37 -07:00
integration revlog: turn on head-based-commit-transaction for tests 2020-07-08 14:33:58 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke edenapi_types: add metadata field to DataEntry 2020-07-16 13:32:19 -07:00
scm edenapi_types: add metadata field to DataEntry 2020-07-16 13:32:19 -07:00
scripts packaging: use scheduled tasks 2020-06-10 19:29:15 -07:00
test_support enable asynchronous integration tests 2020-06-15 15:53:50 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
win add .clang-format 2020-04-28 08:42:03 -07:00
.clang-format Cut FOR_EACH_KV 2020-06-10 19:29:43 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00