mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
293053b774
Summary: Introduce a new API type, `TreeAttributes`, corresponding to the existing type `WireTreeAttributesRequest`, which exposes which optional attributes are available for fetching. An `Option<TreeAttributes>` parameter is added to the `trees` API, and if set to `None`, the client will make a request with TreeAttributes::default(). The Python bindings accept a dictionary for the attributes parameter, and any fields present will overwrite the default settings from TreeAttributes::default(). Unrecognized attributes will be silently ignored. Reviewed By: kulshrax Differential Revision: D25041255 fbshipit-source-id: 5c581c20aac06eeb0428fff42bfd93f6aecbb629 |
||
---|---|---|
.. | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |