From 3ac797a8fafa629fd49f1bc885fdbaf78a0faf4e Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 4 Aug 2014 21:04:45 +0200 Subject: [PATCH] Remove SetHash() --- repository.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/repository.go b/repository.go index 7166461c9..88c068a68 100644 --- a/repository.go +++ b/repository.go @@ -99,11 +99,6 @@ func (r *Repository) create() error { return nil } -// SetHash changes the hash function used for deriving IDs. Default is SHA256. -func (r *Repository) SetHash(h func() hash.Hash) { - r.hash = h -} - // Path returns the directory used for this repository. func (r *Repository) Path() string { return r.path