(ctx context.Context, idxUp *IndexUpdate)
| 202 | } |
| 203 | |
| 204 | func (e encryptedConnection) IndexUpdate(ctx context.Context, idxUp *IndexUpdate) error { |
| 205 | if folderKey, ok := e.folderKeys.get(idxUp.Folder); ok { |
| 206 | encryptFileInfos(e.keyGen, idxUp.Files, folderKey) |
| 207 | } |
| 208 | return e.conn.IndexUpdate(ctx, idxUp) |
| 209 | } |
| 210 | |
| 211 | func (e encryptedConnection) Request(ctx context.Context, req *Request) ([]byte, error) { |
| 212 | folderKey, ok := e.folderKeys.get(req.Folder) |
nothing calls this directly
no test coverage detected