MCPcopy
hub / github.com/syncthing/syncthing / randomName

Function randomName

test/util.go:262–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260}
261
262func randomName() string {
263 var b [16]byte
264 ReadRand(b[:])
265 return fmt.Sprintf("%x", b[:])
266}
267
268type infiniteReader struct {
269 rd io.ReadSeeker

Callers 1

generateFilesWithTimeFunction · 0.70

Calls 1

ReadRandFunction · 0.85

Tested by

no test coverage detected