parent
92bb67959b
commit
0ae11aa283
15 changed files with 107 additions and 85 deletions
daemons/ytdlp
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
"io/fs"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"git.kmsign.ru/royalcat/tstor/pkg/ctxbilly"
|
||||
"git.kmsign.ru/royalcat/tstor/src/vfs"
|
||||
|
@ -53,7 +54,7 @@ func (s *SourceFS) ReadDir(ctx context.Context, path string) ([]fs.DirEntry, err
|
|||
|
||||
entries := make([]fs.DirEntry, 0, len(infos))
|
||||
for _, info := range infos {
|
||||
entries = append(entries, vfs.NewFileInfo(info.Name(), info.Size()))
|
||||
entries = append(entries, vfs.NewFileInfo(info.Name(), info.Size(), time.Time{}))
|
||||
}
|
||||
|
||||
return entries, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue