Skip to content

Commit 3cf99ed

Browse files
racoon-develchripo
authored andcommitted
Fix missing last modified time on Stat()
1 parent ea9c849 commit 3cf99ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (c *Client) Stat(path string) (os.FileInfo, error) {
197197
f.path += "/"
198198
}
199199
f.size = 0
200-
f.modified = time.Unix(0, 0)
200+
f.modified = parseModified(&p.Modified)
201201
f.isdir = true
202202
} else {
203203
f.size = parseInt64(&p.Size)

0 commit comments

Comments
 (0)