MCPcopy
hub / github.com/rclone/rclone / String

Function String

lib/random/random.go:43–45  ·  view source on GitHub ↗

String create a random string for test purposes. Do not use these for passwords.

(n int)

Source from the content-addressed store, hash-verified

41//
42// Do not use these for passwords.
43func String(n int) string {
44 return StringFn(n, cryptorand.Reader)
45}
46
47// Password creates a crypto strong password which is just about
48// memorable. The password is composed of printable ASCII characters

Callers 15

TestIntegrationFunction · 0.92
MoveMethod · 0.92
TestInternalReadOnlyMethod · 0.92
TestMoveCopyFunction · 0.92
UpdateMethod · 0.92
internalTestMetadataMethod · 0.92
InternalTestVersionsMethod · 0.92
testObjectInfoFunction · 0.92
testComputeHashFunction · 0.92
InternalTestMetadataMethod · 0.92
InternalTestMetadataMethod · 0.92

Calls 1

StringFnFunction · 0.85

Tested by 15

TestIntegrationFunction · 0.74
TestInternalReadOnlyMethod · 0.74
TestMoveCopyFunction · 0.74
internalTestMetadataMethod · 0.74
InternalTestVersionsMethod · 0.74
testObjectInfoFunction · 0.74
testComputeHashFunction · 0.74
InternalTestMetadataMethod · 0.74
InternalTestMetadataMethod · 0.74
InternalTestNoHeadMethod · 0.74
InternalTestVersionsMethod · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…