Skip to content
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

Support generic way to get informations/status of a key #3

Closed
farnabaz opened this issue Apr 27, 2021 · 1 comment
Closed

Support generic way to get informations/status of a key #3

farnabaz opened this issue Apr 27, 2021 · 1 comment

Comments

@farnabaz
Copy link
Collaborator

It would be great if unstorage drivers provide informations/stats about the keys. This information could be helpful.

For example one of the important informations about the keys is the last modified date. Last modified date is used in Nuxt Content and Docus to show updated date of document.

@pi0
Copy link
Member

pi0 commented Apr 27, 2021

Hi. You can store it in a sibling key like /content/foo => /content/foo.meta. I plan to support built-in meta handling but it cannot always support features like mtime due to driver limitations.

@pi0 pi0 closed this as completed in 3a5d865 Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants