From 3087a472bfe61db806a052ea2afd57d22b8c5d95 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 12 Jul 2018 21:28:43 +0200 Subject: move Hash in /util/ --- repository/repo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repository/repo.go') 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) } -- cgit