Event CorruptionDetected
Occurs when repository corruption is detected during a fetch or add operation. Corruption conditions (for example a variant alias whose source data file is missing) are surfaced through this event so monitoring and repair tooling can observe them, in addition to any direct exception or per-operation handling that already applies.
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public event RepoCorruptionHandler? CorruptionDetected
Returns
| Type | Description |
|---|---|
| RepoCorruptionHandler | Occurs when repository corruption is detected during a fetch or add operation. Corruption conditions (for example a variant alias whose source data file is missing) are surfaced through this event so monitoring and repair tooling can observe them, in addition to any direct exception or per-operation handling that already applies. |
Remarks
The handler receives a RepoCorruptionInfo describing the corruption. The event fires every time corruption is encountered (no per-process debouncing); handlers can debounce or log as appropriate.
Handler exceptions are not caught and will propagate out of the operation that detected the corruption.