MCPcopy Index your code
hub / github.com/anomalyco/opencode / read.ts

File read.ts

packages/opencode/src/tool/read.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Effect, Option, Schema, Scope, Stream } from "effect"
2import { NonNegativeInt } from "@opencode-ai/core/schema"
3import * as path from "path"
4import * as Tool from "./tool"

Callers

nothing calls this directly

Calls 11

sniffAttachmentMimeFunction · 0.90
isPdfAttachmentFunction · 0.90
isBinaryFileFunction · 0.85
openMethod · 0.80
streamMethod · 0.80
pushMethod · 0.80
listFunction · 0.50
linesFunction · 0.50
warmFunction · 0.50
runFunction · 0.50
fromMethod · 0.45

Tested by

no test coverage detected