MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getTaskIdPrefix

Function getTaskIdPrefix

source code/Task.ts:92–94  ·  view source on GitHub ↗
(type: TaskType)

Source from the content-addressed store, hash-verified

90
91// Get task ID prefix
92function getTaskIdPrefix(type: TaskType): string {
93 return TASK_ID_PREFIXES[type] ?? 'x'
94}
95
96// Case-insensitive-safe alphabet (digits + lowercase) for task IDs.
97// 36^8 ≈ 2.8 trillion combinations, sufficient to resist brute-force symlink attacks.

Callers 1

generateTaskIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected