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

Function clearProviderRev

packages/app/src/context/global-sync/bootstrap.ts:61–63  ·  view source on GitHub ↗
(scope: ServerScope, directory: string)

Source from the content-addressed store, hash-verified

59const providerRev = new Map<string, number>()
60
61export function clearProviderRev(scope: ServerScope, directory: string) {
62 providerRev.delete(ScopedKey.from(scope, directory))
63}
64
65function runAll(list: Array<() => Promise<unknown>>) {
66 return Promise.allSettled(list.map((item) => item()))

Callers 1

Calls 2

deleteMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected