MCPcopy Create free account
hub / github.com/Noumena-Network/code / ensureInitialized

Function ensureInitialized

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

Source from the content-addressed store, hash-verified

57 * parseCommand/parseCommandRaw for the parser to be available. Idempotent.
58 */
59export async function ensureInitialized(): Promise<void> {
60 if (feature('TREE_SITTER_BASH') || feature('TREE_SITTER_BASH_SHADOW')) {
61 await ensureParserInitialized()
62 }
63}
64
65export async function parseCommand(
66 command: string,

Callers

nothing calls this directly

Calls 1

ensureParserInitializedFunction · 0.85

Tested by

no test coverage detected