Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/sourcebot-dev/sourcebot
/ readFile.ts
File
readFile.ts
packages/web/src/features/tools/readFile.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ z } from
"zod"
;
2
import
{ isServiceError } from
"@/lib/utils"
;
3
import
{ getFileSource } from
"@/features/git"
;
4
import
{ ToolDefinition } from
"./types"
;
Callers
nothing calls this directly
Calls
3
getFileSource
Function · 0.90
isServiceError
Function · 0.90
getRepoInfoByName
Function · 0.90
Tested by
no test coverage detected