2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-21 20:35:12 +00:00

Remove SetHash()

This commit is contained in:
Alexander Neumann 2014-08-04 21:04:45 +02:00
parent f4453ff36f
commit 3ac797a8fa

View File

@ -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