aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-09-03 11:17:22 +0200
committerJavi Fontan <jfontan@gmail.com>2018-09-03 11:17:22 +0200
commit95acbf6c3958b7540a8549aa049051325fcecd8b (patch)
tree938d7459e97cf01942d11bbe17fca7d95339b1de /storage
parentcf626677508238893c7c88c3c786a02f17afcc4c (diff)
downloadgo-git-95acbf6c3958b7540a8549aa049051325fcecd8b.tar.gz
storage/filesystem: make Storage options private
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage')
-rw-r--r--storage/filesystem/storage.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index 24e6454..d2c5287 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -12,7 +12,7 @@ import (
// standard git format (this is, the .git directory). Zero values of this type
// are not safe to use, see the NewStorage function below.
type Storage struct {
- storer.Options
+ options storer.Options
fs billy.Filesystem
dir *dotgit.DotGit
@@ -42,7 +42,7 @@ func NewStorageWithOptions(
}
return &Storage{
- Options: ops,
+ options: ops,
fs: fs,
dir: dir,