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

Method shortName

packages/function/src/api.ts:111–113  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

109 }
110
111 static shortName(id: string) {
112 return id.substring(id.length - 8)
113 }
114}
115
116export default new Hono<{ Bindings: Env }>()

Callers 1

api.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected