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

Function logLoadOnce

src/utils/bash/parser.ts:46–53  ·  view source on GitHub ↗
(success: boolean)

Source from the content-addressed store, hash-verified

44
45let logged = false
46function logLoadOnce(success: boolean): void {
47 if (logged) return
48 logged = true
49 logForDebugging(
50 success ? 'tree-sitter: native module loaded' : 'tree-sitter: unavailable',
51 )
52 logEvent('ncode_tree_sitter_load', { success })
53}
54
55/**
56 * Awaits WASM init (Parser.init + Language.load). Must be called before

Callers 2

parseCommandFunction · 0.85
parseCommandRawFunction · 0.85

Calls 2

logForDebuggingFunction · 0.50
logEventFunction · 0.50

Tested by

no test coverage detected