mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
koofr: ensure folders show the modtime configured by --default-time #6986
This commit is contained in:
parent
d379641021
commit
f7b87a8049
@ -376,7 +376,7 @@ func (f *Fs) List(ctx context.Context, dir string) (entries fs.DirEntries, err e
|
|||||||
for i, file := range files {
|
for i, file := range files {
|
||||||
remote := path.Join(dir, f.opt.Enc.ToStandardName(file.Name))
|
remote := path.Join(dir, f.opt.Enc.ToStandardName(file.Name))
|
||||||
if file.Type == "dir" {
|
if file.Type == "dir" {
|
||||||
entries[i] = fs.NewDir(remote, time.Unix(0, 0))
|
entries[i] = fs.NewDir(remote, time.Time{})
|
||||||
} else {
|
} else {
|
||||||
entries[i] = &Object{
|
entries[i] = &Object{
|
||||||
fs: f,
|
fs: f,
|
||||||
|
Loading…
Reference in New Issue
Block a user