(ctx context.Context, idx *Index)
| 18 | } |
| 19 | |
| 20 | func (c wireFormatConnection) Index(ctx context.Context, idx *Index) error { |
| 21 | for i := range idx.Files { |
| 22 | idx.Files[i].Name = norm.NFC.String(filepath.ToSlash(idx.Files[i].Name)) |
| 23 | } |
| 24 | |
| 25 | return c.Connection.Index(ctx, idx) |
| 26 | } |
| 27 | |
| 28 | func (c wireFormatConnection) IndexUpdate(ctx context.Context, idxUp *IndexUpdate) error { |
| 29 | for i := range idxUp.Files { |