Fix missing last modified time on Stat()

This commit is contained in:
Yuriy Zaytsev authored and Christoph Polcin committed 2023-06-22 13:42:44 +02:00
1 parent ea9c8490dd
commit 3cf99ede06
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ func (c *Client) Stat(path string) (os.FileInfo, error) {
f.path += "/"
}
f.size = 0
f.modified = time.Unix(0, 0)
f.modified = parseModified(&p.Modified)
f.isdir = true
} else {
f.size = parseInt64(&p.Size)