(ctx context.Context, path string)
| 33 | var RpcClientRouteId string |
| 34 | |
| 35 | func parseConnection(ctx context.Context, path string) (*connparse.Connection, error) { |
| 36 | conn, err := connparse.ParseURIAndReplaceCurrentHost(ctx, path) |
| 37 | if err != nil { |
| 38 | return nil, fmt.Errorf("error parsing connection %s: %w", path, err) |
| 39 | } |
| 40 | return conn, nil |
| 41 | } |
| 42 | |
| 43 | func Read(ctx context.Context, data wshrpc.FileData) (*wshrpc.FileData, error) { |
| 44 | if data.Info == nil { |
no test coverage detected