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

Function setFileContentBytes

packages/app/src/context/file/content-cache.ts:66–68  ·  view source on GitHub ↗
(path: string, bytes: number)

Source from the content-addressed store, hash-verified

64}
65
66export function setFileContentBytes(path: string, bytes: number) {
67 setBytes(path, bytes)
68}
69
70export function removeFileContentBytes(path: string) {
71 remove(path)

Calls 1

setBytesFunction · 0.85

Tested by

no test coverage detected