directory should have mod-time
This commit is contained in:
parent
fa9482a9f2
commit
87bbafc0c0
@ -90,7 +90,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) {
|
|||||||
if p.Type.Local == "collection" {
|
if p.Type.Local == "collection" {
|
||||||
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