backend: remove unused Location method
This commit is contained in:
parent
eb6c653f89
commit
0c1ba6d95d
14 changed files with 0 additions and 81 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue