aboutsummaryrefslogtreecommitdiff
path: root/s3/fs.go
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-11-20 13:42:20 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-11-20 13:42:20 +0100
commite10f04c5e36109c2e58d667c4b6ec054cbdd51be (patch)
tree7288ab0c17c541c921b77d8ddb71add2a54620ac /s3/fs.go
parent87fff9843dd60d4ce05596dc55bff44a3724a6bf (diff)
downloadbagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.tar.gz
bagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.zip
It seems to worksftp
Diffstat (limited to 's3/fs.go')
-rw-r--r--s3/fs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/s3/fs.go b/s3/fs.go
index c5ae6a0..a8199d7 100644
--- a/s3/fs.go
+++ b/s3/fs.go
@@ -22,13 +22,15 @@ import (
type S3FS struct {
cache map[string]*S3Stat
mc *minio.Client
+ local string
ctx context.Context
}
-func NewS3FS(mc *minio.Client) S3FS {
+func NewS3FS(mc *minio.Client, local string) S3FS {
return S3FS{
cache: make(map[string]*S3Stat),
mc: mc,
+ local: local,
}
}