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

Method ResolvePath

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

Source from the content-addressed store, hash-verified

119 StartProcess(ctx context.Context, req StartProcessRequest) (StartProcessResponse, error)
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

Callers 3

TestWriteFileFunction · 0.65
TestEditFilesFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 2

TestWriteFileFunction · 0.52
TestEditFilesFunction · 0.52