diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-12 21:28:43 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-12 21:32:10 +0200 |
commit | 3087a472bfe61db806a052ea2afd57d22b8c5d95 (patch) | |
tree | 8a4a12a56de1d739c216a27919797c3663aff27d /repository/repo.go | |
parent | cda8114fda8d349bbaeefb42cc33ba715d41cf08 (diff) | |
download | git-bug-3087a472bfe61db806a052ea2afd57d22b8c5d95.tar.gz git-bug-3087a472bfe61db806a052ea2afd57d22b8c5d95.zip |
move Hash in /util/
Diffstat (limited to 'repository/repo.go')
-rw-r--r-- | repository/repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/repo.go b/repository/repo.go index ef7215ee..2611324f 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -1,7 +1,7 @@ // Package repository contains helper methods for working with a Git repo. package repository -type Hash string +import "github.com/MichaelMure/git-bug/util" // Repo represents a source code repository. type Repo interface { @@ -24,5 +24,5 @@ type Repo interface { PushRefs(remote string, refPattern string) error // StoreData will store arbitrary data and return the corresponding hash - StoreData([]byte) (Hash, error) + StoreData([]byte) (util.Hash, error) } |