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

Function ensureInitialized

source code/utils/bash/parser.ts:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 * parseCommand/parseCommandRaw for the parser to be available. Idempotent.
51 */
52export async function ensureInitialized(): Promise<void> {
53 if (feature('TREE_SITTER_BASH') || feature('TREE_SITTER_BASH_SHADOW')) {
54 await ensureParserInitialized()
55 }
56}
57
58export async function parseCommand(
59 command: string,

Callers

nothing calls this directly

Calls 1

ensureParserInitializedFunction · 0.85

Tested by

no test coverage detected