Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
sendOscQuery
Function · 0.85
Calls
2
cleanup
Function · 0.70
resolve
Function · 0.70
Tested by
no test coverage detected