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

return the created time from meta #136

Closed
1 task done
Barbapapazes opened this issue Jan 22, 2023 · 2 comments
Closed
1 task done

return the created time from meta #136

Barbapapazes opened this issue Jan 22, 2023 · 2 comments

Comments

@Barbapapazes
Copy link
Member

Describe the feature

In this file, https://github.com/unjs/unstorage/blob/main/src/drivers/fs.ts#L46, only the accessed and modified time are returned but I think the created time could be very useful (in particular for Nuxt Content and Docus)

Additional information

  • Would you be willing to help implement this feature?
@Barbapapazes Barbapapazes changed the title Return the created date in meta Return the created time from meta Jan 22, 2023
@Barbapapazes Barbapapazes changed the title Return the created time from meta return the created time from meta Jan 22, 2023
@pi0 pi0 closed this as completed in e24c486 Feb 6, 2023
@pi0
Copy link
Member

pi0 commented Feb 6, 2023

Added new ctime and birthtime (you might need to use birthtime as creation time. ctime is last status change)

@Barbapapazes
Copy link
Member Author

Thanks!

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