diff --git a/client.go b/client.go index be61f95..7e2c1b2 100644 --- a/client.go +++ b/client.go @@ -92,15 +92,14 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { f.name = p.Name } f.path = path + f.name + f.modified = parseModified(&p.Modified) if p.Type.Local == "collection" { f.path += "/" f.size = 0 - f.modified = parseModified(&p.Modified) f.isdir = true } else { f.size = parseInt64(&p.Size) - f.modified = parseModified(&p.Modified) f.isdir = false }