mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
backend: remove unused Location method
This commit is contained in:
@@ -292,11 +292,6 @@ func (r *SFTP) Connections() uint {
|
||||
return r.Config.Connections
|
||||
}
|
||||
|
||||
// Location returns this backend's location (the directory name).
|
||||
func (r *SFTP) Location() string {
|
||||
return r.p
|
||||
}
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
func (r *SFTP) Hasher() hash.Hash {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user