mirror of
https://github.com/restic/restic.git
synced 2025-10-09 07:33:53 +00:00
backend: remove unused Location method
This commit is contained in:
@@ -321,11 +321,6 @@ func (be *Backend) Connections() uint {
|
||||
return be.cfg.Connections
|
||||
}
|
||||
|
||||
// Location returns this backend's location (the bucket name).
|
||||
func (be *Backend) Location() string {
|
||||
return be.Join(be.cfg.Bucket, be.cfg.Prefix)
|
||||
}
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
func (be *Backend) Hasher() hash.Hash {
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user