Remove SetHash()
This commit is contained in:
parent
f4453ff36f
commit
3ac797a8fa
1 changed files with 0 additions and 5 deletions
|
@ -99,11 +99,6 @@ func (r *Repository) create() error {
|
||||||
return nil
|
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.
|
// Path returns the directory used for this repository.
|
||||||
func (r *Repository) Path() string {
|
func (r *Repository) Path() string {
|
||||||
return r.path
|
return r.path
|
||||||
|
|
Loading…
Reference in a new issue