MCPcopy Index your code
hub / github.com/anomalyco/opencode / add

Function add

packages/core/src/npm.ts:263–265  ·  view source on GitHub ↗
(...args: Parameters<Interface["add"]>)

Source from the content-addressed store, hash-verified

261}
262
263export async function add(...args: Parameters<Interface["add"]>) {
264 return runPromise((svc) => svc.add(...args))
265}
266
267export async function which(...args: Parameters<Interface["which"]>) {
268 return runPromise((svc) => svc.which(...args))

Callers 1

npm.tsFile · 0.70

Calls 2

runPromiseFunction · 0.85
addMethod · 0.65

Tested by

no test coverage detected