MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / calculateHash

Method calculateHash

internal/caches/writer_memory.go:189–191  ·  view source on GitHub ↗

计算Key Hash

(key string)

Source from the content-addressed store, hash-verified

187
188// 计算Key Hash
189func (this *MemoryWriter) calculateHash(key string) uint64 {
190 return xxhash.Sum64String(key)
191}

Callers 1

NewMemoryWriterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected