returns pointer to FileInfo from ReadDir - same as Stat does

This commit is contained in:
TAV2BJ 2023-10-18 16:27:28 +02:00
parent f9157dbec1
commit 62b9fa77db

View File

@ -151,7 +151,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) {
f.isdir = false
}
files = append(files, *f)
files = append(files, f)
}
r.Props = nil