Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ readFile
Method
readFile
src/node/utils/main/instructionFiles.ts:47–47 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
45
*/
46
interface
FileReader {
47
readFile(filePath: string): Promise<string>;
48
}
49
50
/**
Callers
8
eventStore.test.ts
File · 0.65
read
Method · 0.65
readRegularFileBytes
Function · 0.65
readStagedWorkspaceAttachment
Function · 0.65
copyStagedWorkspaceAttachments
Function · 0.65
createLocalFileReader
Function · 0.65
readSingleFile
Function · 0.65
readFileString
Function · 0.65
Implementers
8
RestrictedTestRuntime
src/node/services/streamContextBuilder
SessionUsageService
src/node/services/sessionUsageService.
RemotePathMappedRuntime
src/node/services/tools/testHelpers.ts
TrueRemotePathMappedRuntime
src/node/services/tools/testHelpers.ts
RemotePathMappedRuntime
src/node/services/agentDefinitions/age
RemotePathMappedRuntime
src/node/services/agentSkills/agentSki
MultiProjectRuntime
src/node/runtime/multiProjectRuntime.t
DevcontainerRuntime
src/node/runtime/DevcontainerRuntime.t
Calls
no outgoing calls
Tested by
no test coverage detected