aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/storer.go
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-08-30 18:33:37 +0200
committerJavi Fontan <jfontan@gmail.com>2018-08-30 18:33:37 +0200
commit82945e31dd8bce5fc51d4fd16d696a6d326e5f44 (patch)
tree0ebee0c8101266230e60edc47a1f3696722173ee /plumbing/storer/storer.go
parent1e1a7d0623459807d6f1e871492147f971f7540c (diff)
downloadgo-git-82945e31dd8bce5fc51d4fd16d696a6d326e5f44.tar.gz
git, storer: use a common storer.Options for storer and PlainOpen
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'plumbing/storer/storer.go')
-rw-r--r--plumbing/storer/storer.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plumbing/storer/storer.go b/plumbing/storer/storer.go
index c7bc65a..1b7d226 100644
--- a/plumbing/storer/storer.go
+++ b/plumbing/storer/storer.go
@@ -13,3 +13,9 @@ type Initializer interface {
// any.
Init() error
}
+
+// Options holds configuration for the storage.
+type Options struct {
+ // Static means that the filesystem is not modified while the repo is open.
+ Static bool
+}