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

Function evict

packages/app/src/context/directory-sync.ts:120–122  ·  view source on GitHub ↗
(sessionID: string)

Source from the content-addressed store, hash-verified

118 todo: serverSync.session.todo,
119 history: serverSync.session.history,
120 evict(sessionID: string) {
121 serverSync.session.evict(sessionID)
122 },
123 fetch: async (count = 10) => {
124 const [store, setStore] = current()
125 setStore("limit", (value) => value + count)

Callers 1

evictContentLruFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected