MCPcopy Index your code
hub / github.com/coder/coder / ReadFile

Method ReadFile

codersdk/workspacesdk/agentconn.go:122–122  ·  view source on GitHub ↗
(ctx context.Context, path string, offset, limit int64)

Source from the content-addressed store, hash-verified

120 LS(ctx context.Context, path string, req LSRequest) (LSResponse, error)
121 ResolvePath(ctx context.Context, path string) (string, error)
122 ReadFile(ctx context.Context, path string, offset, limit int64) (io.ReadCloser, string, error)
123 ReadFileLines(ctx context.Context, path string, offset, limit int64, limits ReadFileLinesLimits) (ReadFileLinesResponse, error)
124 WriteFile(ctx context.Context, path string, reader io.Reader) error
125 EditFiles(ctx context.Context, edits FileEditRequest) (FileEditResponse, error)

Callers 15

loadCAFileMethod · 0.65
loadCertificateMethod · 0.65
passwordMethod · 0.65
TestAgentStatsFunction · 0.65
TestCollectInsightsFunction · 0.65
TestOverlayFSFunction · 0.65
ReadFileMethod · 0.65
applyMigrationsInTxnFunction · 0.65

Implementers 3

agentConncodersdk/workspacesdk/agentconn.go
MockAgentConncodersdk/workspacesdk/agentconnmock/ag
MockAgentConnMockRecordercodersdk/workspacesdk/agentconnmock/ag

Calls

no outgoing calls