🧑‍💻 Improve kernel API /api/file/readDir for returning file mod time Fix https://github.com/siyuan-note/siyuan/issues/8945

This commit is contained in:
Daniel 2023-08-10 10:57:01 +08:00
parent 82633a497b
commit 6595524640
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 27 additions and 22 deletions

View file

@ -184,6 +184,7 @@ func readDir(c *gin.Context) {
"name": entry.Name(),
"isDir": info.IsDir(),
"isSymlink": util.IsSymlink(entry),
"updated": info.ModTime().Unix(),
})
}