backend: remove unused Location method

This commit is contained in:
Michael Eischer committed 2024-05-18 21:38:31 +02:00
1 parent eb6c653f89
commit 0c1ba6d95d
14 files changed
-81

No files matched your search

-5
View File
@@ -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()