MCPcopy Create free account
hub / github.com/anomalyco/opencode / data

Function data

packages/opencode/test/server/httpapi-exercise/index.ts:44–49  ·  view source on GitHub ↗
(validate: (value: any) => void)

Source from the content-addressed store, hash-verified

42}
43
44function data(validate: (value: any) => void) {
45 return (body: any) => {
46 object(body)
47 validate(body.data)
48 }
49}
50
51function locationData(validate: (value: any) => void) {
52 return (body: any) => {

Callers 1

index.tsFile · 0.70

Calls 2

objectFunction · 0.90
validateFunction · 0.50

Tested by

no test coverage detected