Skip to content

Improve kernel API /api/file/readDir for returning file mod time #8945

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

Closed
zuoez02 opened this issue Aug 9, 2023 · 3 comments
Closed

Improve kernel API /api/file/readDir for returning file mod time #8945

zuoez02 opened this issue Aug 9, 2023 · 3 comments
Assignees
Milestone

Comments

@zuoez02
Copy link
Contributor

zuoez02 commented Aug 9, 2023

获取文件列表接口,支持获取文件的创建时间

In what scenarios do you need this feature?

插件获取文件显示文件的创建时间,如果有更新时间就更好了。这样可以按照时间进行排序了。

Describe the optimal solution

kernel中获取文件信息后增加更多的文件信息到返回值中。

Describe the candidate solution

No response

Other information

No response

@88250
Copy link
Member

88250 commented Aug 9, 2023

麻烦描述接口 URL 我们确认下,谢谢。

@zuoez02
Copy link
Contributor Author

zuoez02 commented Aug 10, 2023

/api/file/readDir

@88250
Copy link
Member

88250 commented Aug 10, 2023

创建时间无法保证跨平台可用,暂时不加了,最后更新时间可以加,感谢提议。

@88250 88250 changed the title 获取文件列表接口,支持获取文件的创建时间 Improve kernel API /api/file/readDir for returning file mod time Aug 10, 2023
@88250 88250 self-assigned this Aug 10, 2023
@88250 88250 added this to the 2.10.0 milestone Aug 10, 2023
88250 added a commit that referenced this issue Aug 10, 2023

Verified

This commit was signed with the committer’s verified signature.
…Fix #8945
@88250 88250 closed this as completed Aug 10, 2023
88250 added a commit that referenced this issue Aug 10, 2023

Verified

This commit was signed with the committer’s verified signature.
…Fix #8945
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants