MCPcopy Index your code
hub / github.com/anomalyco/opencode / share.ts

File share.ts

packages/enterprise/src/core/share.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Message, Model, Part, Session, SnapshotFileDiff } from "@opencode-ai/sdk/v2"
2import { iife } from "@opencode-ai/core/util/iife"
3import z from "zod"
4import { Storage } from "./storage"

Callers

nothing calls this directly

Calls 13

iifeFunction · 0.90
writeSnapshotFunction · 0.85
readSnapshotFunction · 0.85
legacyFunction · 0.85
writeMethod · 0.80
pushMethod · 0.80
fnFunction · 0.70
getFunction · 0.70
removeFunction · 0.70
mergeFunction · 0.70
removeMethod · 0.65
listMethod · 0.65

Tested by

no test coverage detected