MCPcopy
hub / github.com/anomalyco/opencode / clash

Function clash

packages/opencode/src/snapshot/index.ts:445–445  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

443 })
444
445 const clash = (a: string, b: string) => a === b || a.startsWith(`${b}/`) || b.startsWith(`${a}/`)
446
447 for (let i = 0; i < ops.length; ) {
448 const first = ops[i]!

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected