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

Function completeLoad

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

Source from the content-addressed store, hash-verified

70 })
71
72 const completeLoad = (directory: string, input: LoadInput, entry: Entry) =>
73 Effect.gen(function* () {
74 const exit = yield* Effect.exit(boot({ ...input, directory }))
75 if (Exit.isFailure(exit)) yield* removeEntry(directory, entry)
76 yield* Deferred.done(entry.deferred, exit).pipe(Effect.asVoid)
77 })
78
79 const emitDisposed = (input: { directory: string; project?: string }) =>
80 Effect.sync(() =>

Callers 2

loadFunction · 0.85
reloadFunction · 0.85

Calls 3

bootFunction · 0.85
removeEntryFunction · 0.85
doneMethod · 0.80

Tested by

no test coverage detected