(ctx context.Context, idxUp *IndexUpdate)
| 26 | } |
| 27 | |
| 28 | func (c wireFormatConnection) IndexUpdate(ctx context.Context, idxUp *IndexUpdate) error { |
| 29 | for i := range idxUp.Files { |
| 30 | idxUp.Files[i].Name = norm.NFC.String(filepath.ToSlash(idxUp.Files[i].Name)) |
| 31 | } |
| 32 | |
| 33 | return c.Connection.IndexUpdate(ctx, idxUp) |
| 34 | } |
| 35 | |
| 36 | func (c wireFormatConnection) Request(ctx context.Context, req *Request) ([]byte, error) { |
| 37 | req.Name = norm.NFC.String(filepath.ToSlash(req.Name)) |
nothing calls this directly
no test coverage detected