# BatchEditFileResult

Result for a single file in a batch edit.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `path` | `string` | Path to the file. |
| `success` | `boolean` | Whether the edit succeeded. |
| `error` | `string \| null` | Error message if failed. |
| `operationResults` | [`EditOperationResult`](https://docs.maitento.com/reference/types/edit-operation-result.md)`[]` | Results for each operation. |

## Example

```json
{
  "path": "...",
  "success": false,
  "error": "...",
  "operationResults": [
    {
      "success": false,
      "error": "...",
      "replacementCount": 0
    }
  ]
}
```

## Where it's used

- Inside [`BatchEditResponse`](https://docs.maitento.com/reference/types/batch-edit-response.md)
