mirror of
https://github.com/restic/restic.git
synced 2026-11-20 04:26:54 +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
@@ -121,11 +121,6 @@ func (b *Backend) Connections() uint {
|
||||
return b.connections
|
||||
}
|
||||
|
||||
// Location returns this backend's location (the server's URL).
|
||||
func (b *Backend) Location() string {
|
||||
return b.url.String()
|
||||
}
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
func (b *Backend) Hasher() hash.Hash {
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user