From 6f1d1e00a7c615209cf6b25e314d033bda3b5d09 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sat, 10 Sep 2016 01:48:43 +0200 Subject: storage: filesystem ref storage, and not not exists file handling --- storage/filesystem/reference.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'storage/filesystem/reference.go') 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) { -- cgit