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

Function removeEntry

packages/opencode/src/project/instance-store.ts:65–70  ·  view source on GitHub ↗
(directory: string, entry: Entry)

Source from the content-addressed store, hash-verified

63 }).pipe(Effect.withSpan("InstanceStore.boot"))
64
65 const removeEntry = (directory: string, entry: Entry) =>
66 Effect.sync(() => {
67 if (cache.get(directory) !== entry) return false
68 cache.delete(directory)
69 return true
70 })
71
72 const completeLoad = (directory: string, input: LoadInput, entry: Entry) =>
73 Effect.gen(function* () {

Callers 2

completeLoadFunction · 0.85
instance-store.tsFile · 0.85

Calls 3

syncMethod · 0.80
getMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected