Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ out
Function
out
packages/opencode/src/git/index.ts:20–20 ·
view source on GitHub ↗
(result: { text(): string })
Source
from the content-addressed store, hash-verified
18
] as
const
19
20
const
out = (result: { text(): string }) => result.text().trim()
21
const
nuls = (text: string) => text.split(
"\0"
).filter(Boolean)
22
const
fail = (err: unknown) =>
23
({
Callers
1
index.ts
File · 0.70
Calls
1
text
Method · 0.65
Tested by
no test coverage detected