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

Function info

packages/core/src/shell.ts:156–164  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

154}
155
156function info(file: string): Item {
157 const item = full(file)
158 const n = name(item)
159 return {
160 path: item,
161 name: resolve(n) ? n : item,
162 acceptable: ok(item),
163 }
164}
165
166export function args(file: string, command: string, cwd: string) {
167 const n = name(file)

Callers 3

[shareID].tsxFile · 0.50
titleFunction · 0.50
SessionRetryFunction · 0.50

Calls 4

fullFunction · 0.70
nameFunction · 0.70
resolveFunction · 0.70
okFunction · 0.70

Tested by

no test coverage detected