mirror of
https://github.com/restic/restic.git
synced 2025-08-11 10:07:47 +00:00
backend: remove unused Location method
This commit is contained in:
@@ -222,11 +222,6 @@ func (be *MemoryBackend) Connections() uint {
|
||||
return connectionCount
|
||||
}
|
||||
|
||||
// Location returns the location of the backend (RAM).
|
||||
func (be *MemoryBackend) Location() string {
|
||||
return "RAM"
|
||||
}
|
||||
|
||||
// Hasher may return a hash function for calculating a content hash for the backend
|
||||
func (be *MemoryBackend) Hasher() hash.Hash {
|
||||
return xxhash.New()
|
||||
|
Reference in New Issue
Block a user