sapling/eden
Michael Cuevas 26ae74fb1d add thrift endpoint for querying file attributes in bulk
Summary:
update thrift interface to include a function that returns attributes for a given list of files.

to support this, we add several structures that define the functions parameters and return type.

- FileAttributes: a "bitmask" enum. Each attribute is a power of 2 to enable bitwise ORing attributes together to decide which attributes to fetch from files.
- FileAttributeData: struct to hold the attributes of an individual file
- FileAttributeDataOrError: union that is either a FileAttributeData or EdenError thrown when accessing the file attributes
- GetAttributesFromFilesParameters: self explanatory.
- GetAttributesFromFilesResult: self explanatory. Map of file -> FileAttributeDataOrError
- getAttributesFromFile(): actual function that will be implemented in EdenServiceHandler.cpp

Reviewed By: chadaustin

Differential Revision: D32155168

fbshipit-source-id: 6dd768f3bcee1e32a2362df231feebfb1297dbf6
2021-11-17 11:31:25 -08:00
..
fs add thrift endpoint for querying file attributes in bulk 2021-11-17 11:31:25 -08:00
hg-server import Move core crates 2021-11-16 12:15:30 -08:00
integration integration: speedup hg test by 2x 2021-11-15 13:52:59 -08:00
locale
mononoke mononoke: add a tunable to disable new not sync candidate logic 2021-11-17 10:27:31 -08:00
scm Allow copying from bubble on lookup 2021-11-17 09:45:52 -08:00
test_support test_support: canonicalize the temporary directory path 2021-08-16 16:08:45 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore
Eden.project.toml