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

Function lock

packages/opencode/src/plugin/meta.ts:52–54  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

50}
51
52function lock(file: string) {
53 return `plugin-meta:${file}`
54}
55
56function fileTarget(spec: string, target: string) {
57 if (spec.startsWith("file://")) return fileURLToPath(spec)

Callers 3

touchManyFunction · 0.70
setThemeFunction · 0.70
listFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected