MCPcopy Create free account
hub / github.com/msgbyte/tailchat / generateRandomStr

Function generateRandomStr

server/lib/utils.ts:18–20  ·  view source on GitHub ↗
(length = 10)

Source from the content-addressed store, hash-verified

16 * @param length 随机字符串长度
17 */
18export function generateRandomStr(length = 10): string {
19 return randomString({ length });
20}
21
22export function generateRandomNumStr(length = 6) {
23 return randomString({

Callers 8

utils.spec.tsFile · 0.90
createTestTemporaryUserFunction · 0.90
user.spec.tsFile · 0.90
createTestRoleFunction · 0.90
group.spec.tsFile · 0.90
createTestOpenAppFunction · 0.90
app.spec.tsFile · 0.90
createTemporaryUserMethod · 0.90

Calls

no outgoing calls

Tested by 3

createTestTemporaryUserFunction · 0.72
createTestRoleFunction · 0.72
createTestOpenAppFunction · 0.72