parent
92bb67959b
commit
0ae11aa283
15 changed files with 107 additions and 85 deletions
daemons/rclone
|
@ -3,6 +3,7 @@ package rclone
|
|||
import (
|
||||
"context"
|
||||
"io/fs"
|
||||
"time"
|
||||
|
||||
"git.kmsign.ru/royalcat/tstor/src/vfs"
|
||||
rclonefs "github.com/rclone/rclone/fs"
|
||||
|
@ -78,7 +79,7 @@ func (f *fileWrapper) Close(ctx context.Context) error {
|
|||
|
||||
// Info implements vfs.File.
|
||||
func (f *fileWrapper) Info() (fs.FileInfo, error) {
|
||||
return vfs.NewFileInfo(f.name, f.Size()), nil
|
||||
return vfs.NewFileInfo(f.name, f.Size(), time.Time{}), nil
|
||||
}
|
||||
|
||||
// IsDir implements vfs.File.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue