aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/reference.go
diff options
context:
space:
mode:
Diffstat (limited to 'storage/filesystem/reference.go')
-rw-r--r--storage/filesystem/reference.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/filesystem/reference.go b/storage/filesystem/reference.go
index c8e5434..ae78efb 100644
--- a/storage/filesystem/reference.go
+++ b/storage/filesystem/reference.go
@@ -1,8 +1,6 @@
package filesystem
import (
- "fmt"
-
"gopkg.in/src-d/go-git.v4/core"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
)
@@ -13,7 +11,7 @@ type ReferenceStorage struct {
}
func (r *ReferenceStorage) Set(ref *core.Reference) error {
- return fmt.Errorf("not implemented yet")
+ return r.dir.SetRef(ref)
}
func (r *ReferenceStorage) Get(n core.ReferenceName) (*core.Reference, error) {