mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:32:06 +00:00
backend: remove unused Location method
This commit is contained in:
@@ -197,11 +197,6 @@ func (be *Backend) Connections() uint {
|
||||
return be.connections
|
||||
}
|
||||
|
||||
// Location returns this backend's location (the bucket name).
|
||||
func (be *Backend) Location() string {
|
||||
return be.Join(be.bucketName, be.prefix)
|
||||
}
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
func (be *Backend) Hasher() hash.Hash {
|
||||
return md5.New()
|
||||
|
||||
Reference in New Issue
Block a user