MCPcopy Index your code
hub / github.com/git-bug/git-bug / randomData

Function randomData

repository/repo_testing.go:355–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353}
354
355func randomData() []byte {
356 var letterRunes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
357 b := make([]byte, 32)
358 for i := range b {
359 b[i] = letterRunes[rand.Intn(len(letterRunes))]
360 }
361 return b
362}

Callers 2

RepoDataTestFunction · 0.70
RepoDataSignatureTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected