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

Function lines

packages/opencode/src/util/process.ts:173–175  ·  view source on GitHub ↗
(cmd: string[], opts: RunOptions = {})

Source from the content-addressed store, hash-verified

171}
172
173export async function lines(cmd: string[], opts: RunOptions = {}): Promise<string[]> {
174 return (await text(cmd, opts)).text.split(/\r?\n/).filter(Boolean)
175}
176
177export * as Process from "./process"

Callers 2

index.tsFile · 0.50
read.tsFile · 0.50

Calls 1

textFunction · 0.70

Tested by

no test coverage detected