SanitizeEvent
Defined in: workspace.ts:480
Event emitted for each processed file during workspace sanitization.
Properties
changed
changed: boolean
Defined in: workspace.ts:497
Indicates whether the sanitizer modified the file content.
In dry-run mode (write: false), this reflects whether
changes would have occurred.
name
name: string
Defined in: workspace.ts:489
Human-readable file name (without directories).
path
path: string
Defined in: workspace.ts:484
Workspace-relative, POSIX-normalized file path.
progress
progress: number
Defined in: workspace.ts:504
Overall progress percentage (0–100).
Progress is monotonic and based on total resolved files.
sanitized
sanitized: string
Defined in: workspace.ts:509
Sanitized text.