loadWorkspaceFromHost detects and loads the workspace from the client's host filesystem.
(ctx context.Context, client *daggerClient)
| 162 | |
| 163 | // loadWorkspaceFromHost detects and loads the workspace from the client's host filesystem. |
| 164 | func (srv *Server) loadWorkspaceFromHost(ctx context.Context, client *daggerClient) error { |
| 165 | return srv.loadWorkspaceFromHostPath(ctx, client, ".") |
| 166 | } |
| 167 | |
| 168 | func (srv *Server) loadWorkspaceFromHostPath(ctx context.Context, client *daggerClient, hostPath string) error { |
| 169 | cwd, err := client.engineUtilClient.AbsPath(ctx, hostPath) |
no test coverage detected