aboutsummaryrefslogtreecommitdiff
path: root/s3/stat.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-11-19 20:35:38 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-11-19 20:35:38 +0100
commit514731cf4b5dd97dc871b9fd84c4d9938900ef79 (patch)
treea15575ef430fe3ada0c8c79ce740770bce737c74 /s3/stat.go
parent0ee29e31ddcc81f541de7459b0a5e40dfa552672 (diff)
downloadbagage-514731cf4b5dd97dc871b9fd84c4d9938900ef79.tar.gz
bagage-514731cf4b5dd97dc871b9fd84c4d9938900ef79.zip
WIP DEBUG
Diffstat (limited to 's3/stat.go')
-rw-r--r--s3/stat.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/s3/stat.go b/s3/stat.go
index 96b0c24..c91a757 100644
--- a/s3/stat.go
+++ b/s3/stat.go
@@ -1,6 +1,7 @@
package s3
import (
+ "log"
"errors"
"io/fs"
"path"
@@ -104,6 +105,7 @@ func (s *S3Stat) Name() string {
}
func (s *S3Stat) Size() int64 {
+ log.Println("stat size: ", s.obj.Size)
return s.obj.Size
}