diff options
author | Quentin <quentin@deuxfleurs.fr> | 2021-11-20 13:42:20 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2021-11-20 13:42:20 +0100 |
commit | e10f04c5e36109c2e58d667c4b6ec054cbdd51be (patch) | |
tree | 7288ab0c17c541c921b77d8ddb71add2a54620ac /s3/fs.go | |
parent | 87fff9843dd60d4ce05596dc55bff44a3724a6bf (diff) | |
download | bagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.tar.gz bagage-e10f04c5e36109c2e58d667c4b6ec054cbdd51be.zip |
It seems to worksftp
Diffstat (limited to 's3/fs.go')
-rw-r--r-- | s3/fs.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, } } |