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

Function removeResult

packages/core/src/file-mutation.ts:91–96  ·  view source on GitHub ↗
(target: Target, existed: boolean)

Source from the content-addressed store, hash-verified

89 })
90
91 const removeResult = (target: Target, existed: boolean): RemoveResult => ({
92 operation: "remove",
93 target: target.canonical,
94 resource: target.resource,
95 existed,
96 })
97
98 const write = Effect.fn("FileMutation.write")((input: WriteInput) =>
99 withTargetLock(input.target)(

Callers 1

file-mutation.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected