MCPcopy Index your code
hub / github.com/codeaashu/claude-code / ensureInitialized

Function ensureInitialized

src/utils/bash/parser.ts:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

featureFunction · 0.85
ensureParserInitializedFunction · 0.85

Tested by

no test coverage detected