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

Function touchFileContent

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

Source from the content-addressed store, hash-verified

72}
73
74export function touchFileContent(path: string, bytes?: number) {
75 touch(path, bytes)
76}
77
78export function getFileContentBytesTotal() {
79 return total

Callers 3

loadFunction · 0.90
getFunction · 0.90

Calls 1

touchFunction · 0.70

Tested by

no test coverage detected