Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
18
export
function
generateRandomStr(length = 10): string {
19
return
randomString({ length });
20
}
21
22
export
function
generateRandomNumStr(length = 6) {
23
return
randomString({
Callers
8
utils.spec.ts
File · 0.90
createTestTemporaryUser
Function · 0.90
user.spec.ts
File · 0.90
createTestRole
Function · 0.90
group.spec.ts
File · 0.90
createTestOpenApp
Function · 0.90
app.spec.ts
File · 0.90
createTemporaryUser
Method · 0.90
Calls
no outgoing calls
Tested by
3
createTestTemporaryUser
Function · 0.72
createTestRole
Function · 0.72
createTestOpenApp
Function · 0.72