MCPcopy Index your code
hub / github.com/Noumena-Network/code / getDebugLogBudgetState

Function getDebugLogBudgetState

src/utils/debug.ts:55–62  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

53})
54
55function getDebugLogBudgetState(path: string): DebugLogBudgetState {
56 let state = debugLogBudgetByPath.get(path)
57 if (!state) {
58 state = { initialized: false, bytes: 0, capped: false }
59 debugLogBudgetByPath.set(path, state)
60 }
61 return state
62}
63
64function applyDebugLogBudget(
65 path: string,

Callers 3

applyDebugLogBudgetFunction · 0.85
applyDebugLogBudgetAsyncFunction · 0.85
applyDebugLogBudgetSyncFunction · 0.85

Calls 2

setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected