fix (uint64): size

This commit is contained in:
MickaelK 2025-01-10 16:12:06 +11:00
parent 4b0de2454a
commit e74159f526

View file

@ -211,9 +211,9 @@ func (this S3Backend) Ls(path string) (files []os.FileInfo, err error) {
if i == 0 && *object.Key == p.path {
continue
}
size := 0
var size int64 = 0
if object.Size != nil {
size = int(*object.Size)
size = *object.Size
}
files = append(files, &File{
FName: filepath.Base(*object.Key),