-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(filesystem): Add set and get properties on directories #12247
Conversation
This pull request was exported from Phabricator. Differential Revision: D68650034 |
✅ Deploy Preview for meta-velox canceled.
|
…or#12247) Summary: We'd like to set/get properties on directories if the remote filesystem supports APIs like TTL. In POSIX, this would be similar to ioctl. Simply expose a property bag for which users can use for setting key-value pairs for the set path, and on the get path, only support getting a single key for now. If the key is not present, nullopt is returned. Differential Revision: D68650034
53fab2b
to
0d0efb0
Compare
This pull request was exported from Phabricator. Differential Revision: D68650034 |
…or#12247) Summary: We'd like to set/get properties on directories if the remote filesystem supports APIs like TTL. In POSIX, this would be similar to ioctl. Simply expose a property bag for which users can use for setting key-value pairs for the set path, and on the get path, only support getting a single key for now. If the key is not present, nullopt is returned. Reviewed By: singcha Differential Revision: D68650034
0d0efb0
to
8c3eabb
Compare
This pull request was exported from Phabricator. Differential Revision: D68650034 |
…or#12247) Summary: We'd like to set/get properties on directories if the remote filesystem supports APIs like TTL. In POSIX, this would be similar to ioctl. Simply expose a property bag for which users can use for setting key-value pairs for the set path, and on the get path, only support getting a single key for now. If the key is not present, nullopt is returned. Reviewed By: singcha Differential Revision: D68650034
8c3eabb
to
c487234
Compare
This pull request was exported from Phabricator. Differential Revision: D68650034 |
what kind of properties do we plan to set/get? |
…or#12247) Summary: We'd like to set/get properties on directories if the remote filesystem supports APIs like TTL. In POSIX, this would be similar to ioctl. Simply expose a property bag for which users can use for setting key-value pairs for the set path, and on the get path, only support getting a single key for now. If the key is not present, nullopt is returned. Reviewed By: singcha, zation99 Differential Revision: D68650034
c487234
to
25650d2
Compare
This pull request was exported from Phabricator. Differential Revision: D68650034 |
This pull request has been merged in 50c525a. |
hey sorry just saw this. I plan to set TTL on the directories |
Summary:
We'd like to set/get properties on directories if the remote filesystem supports APIs like TTL. In POSIX, this would be similar to ioctl.
Simply expose a property bag for which users can use for setting key-value pairs for the set path, and on the get path, only support getting a single key for now. If the key is not present, nullopt is returned.
Differential Revision: D68650034