mirror of
https://github.com/restic/restic.git
synced 2026-10-17 23:18:12 +00:00
backend: remove unused Location method
This commit is contained in:
1 parent
eb6c653f89
commit
0c1ba6d95d
14 files changed
-81
No files matched your search
@@ -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