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

Function Hash

internal/utils/bfs/hash.go:34–36  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

32}
33
34func Hash(s string) string {
35 return stringutil.Md5(s)
36}

Callers 15

TestCheckHashFunction · 0.92
BenchmarkCheckHashErrFunction · 0.92
TestMetaBlockFunction · 0.92
TestNewFileWriterFunction · 0.92
TestFS_OpenFileWriterFunction · 0.92
TestFS_OpenFileReaderFunction · 0.92
TestFS_ExistFileFunction · 0.92
TestFS_RemoveFileFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestCheckHashFunction · 0.74
BenchmarkCheckHashErrFunction · 0.74
TestMetaBlockFunction · 0.74
TestNewFileWriterFunction · 0.74
TestFS_OpenFileWriterFunction · 0.74
TestFS_OpenFileReaderFunction · 0.74
TestFS_ExistFileFunction · 0.74
TestFS_RemoveFileFunction · 0.74