MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / resolveWith

Function resolveWith

cli/src/utils/terminal-color-detection.ts:168–172  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

166 }
167
168 const resolveWith = (value: string | null) => {
169 if (resolved) return
170 cleanup()
171 resolve(value)
172 }
173
174 try {
175 // Open TTY for writing the query

Callers 1

sendOscQueryFunction · 0.85

Calls 2

cleanupFunction · 0.70
resolveFunction · 0.70

Tested by

no test coverage detected