Fix missing last modified time on Stat()
This commit is contained in:
parent
ea9c8490dd
commit
3cf99ede06
@ -197,7 +197,7 @@ func (c *Client) Stat(path string) (os.FileInfo, error) {
|
|||||||
f.path += "/"
|
f.path += "/"
|
||||||
}
|
}
|
||||||
f.size = 0
|
f.size = 0
|
||||||
f.modified = time.Unix(0, 0)
|
f.modified = parseModified(&p.Modified)
|
||||||
f.isdir = true
|
f.isdir = true
|
||||||
} else {
|
} else {
|
||||||
f.size = parseInt64(&p.Size)
|
f.size = parseInt64(&p.Size)
|
||||||
|
Loading…
Reference in New Issue
Block a user