aboutsummaryrefslogtreecommitdiff
path: root/s3/fs.go
diff options
context:
space:
mode:
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,
}
}