MCPcopy Create free account
hub / github.com/git-bug/git-bug / randomData

Function randomData

entity/dag/operation_pack_test.go:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150func randomData() []byte {
151 var letterRunes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
152 b := make([]byte, 32)
153 for i := range b {
154 b[i] = letterRunes[rand.Intn(len(letterRunes))]
155 }
156 return b
157}

Callers 1

TestOperationPackFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected