Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
66
export
function
setFileContentBytes(path: string, bytes: number) {
67
setBytes(path, bytes)
68
}
69
70
export
function
removeFileContentBytes(path: string) {
71
remove(path)
Callers
1
file-content-eviction-accounting.test.ts
File · 0.90
Calls
1
setBytes
Function · 0.85
Tested by
no test coverage detected