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

Function success

common/src/util/error.ts:93–98  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

91}
92
93export function success<T>(value: T): Success<T> {
94 return {
95 success: true,
96 value,
97 }
98}
99
100export function failure(error: unknown): Failure<ErrorObject> {
101 return {

Callers 5

getAgentRuntimeImplFunction · 0.90
agent-runtime.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected