MCPcopy
hub / github.com/kopia/kopia / hashOf

Function hashOf

cli/command_benchmark_compression.go:357–362  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

355}
356
357func hashOf(b []byte) uint64 {
358 h := fnv.New64a()
359 h.Write(b)
360
361 return h.Sum64()
362}

Callers 1

runCompressionMethod · 0.85

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected