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

Function get

packages/enterprise/src/core/share.ts:130–132  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

128 })
129
130 export async function get(id: string) {
131 return Storage.read<Info>(["share", id])
132 }
133
134 export const remove = fn(Info.pick({ id: true, secret: true }), async (body) => {
135 const share = await get(body.id)

Callers 1

share.tsFile · 0.70

Calls 1

readMethod · 0.65

Tested by

no test coverage detected