mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 12:58:48 +01:00
🧑💻 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:
parent
82633a497b
commit
6595524640
3 changed files with 27 additions and 22 deletions
|
|
@ -184,6 +184,7 @@ func readDir(c *gin.Context) {
|
|||
"name": entry.Name(),
|
||||
"isDir": info.IsDir(),
|
||||
"isSymlink": util.IsSymlink(entry),
|
||||
"updated": info.ModTime().Unix(),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue