MCPcopy
hub / github.com/anomalyco/opencode / write

Method write

packages/enterprise/src/core/storage.ts:7–7  ·  view source on GitHub ↗
(path: string, value: string)

Source from the content-addressed store, hash-verified

5 export interface Adapter {
6 read(path: string): Promise<string | undefined>
7 write(path: string, value: string): Promise<void>
8 remove(path: string): Promise<void>
9 list(options?: { prefix?: string; limit?: number; after?: string; before?: string }): Promise<string[]>
10 }

Callers 15

bundleInputsFunction · 0.80
publish.tsFile · 0.80
copy-metainfo.tsFile · 0.80
prepare.tsFile · 0.80
signFunction · 0.80
update-limits.tsFile · 0.80
promote-models.tsFile · 0.80
update-models.tsFile · 0.80
black-stats.tsFile · 0.80
pull-models.tsFile · 0.80

Calls

no outgoing calls

Tested by 15

bundleInputsFunction · 0.64
mountPromptFunction · 0.64
writePackageFunction · 0.64
tempEntrypointFunction · 0.64
withProjectFunction · 0.64
depsFunction · 0.64
pluginFunction · 0.64
pluginFunction · 0.64
loadFunction · 0.64
writeZedFixtureFunction · 0.64
createGlobalSkillFunction · 0.64
writeConfigFunction · 0.64