Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
262
func
randomName() string {
263
var
b [16]byte
264
ReadRand(b[:])
265
return
fmt.Sprintf(
"%x"
, b[:])
266
}
267
268
type
infiniteReader
struct
{
269
rd io.ReadSeeker
Callers
1
generateFilesWithTime
Function · 0.70
Calls
1
ReadRand
Function · 0.85
Tested by
no test coverage detected