MCPcopy Index your code
hub / github.com/rclone/rclone / randStringBytes

Function randStringBytes

backend/cache/cache_internal_test.go:1320–1326  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

1318}
1319
1320func randStringBytes(n int) []byte {
1321 b := make([]byte, n)
1322 for i := range b {
1323 b[i] = letterBytes[rand.Intn(len(letterBytes))]
1324 }
1325 return b
1326}
1327
1328var (
1329 _ fs.Fs = (*cache.Fs)(nil)

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…