Adds a new capability to choose how to handle already existing target files when using a generator. See #17925 Co-authored-by: Michael Monerau <micmo@qontrol.io>
30 lines
595 B
Markdown
30 lines
595 B
Markdown
# Enumeration: OverwriteStrategy
|
|
|
|
Specify what should be done when a file is generated but already exists on the system
|
|
|
|
## Table of contents
|
|
|
|
### Enumeration Members
|
|
|
|
- [KeepExisting](../../devkit/documents/OverwriteStrategy#keepexisting)
|
|
- [Overwrite](../../devkit/documents/OverwriteStrategy#overwrite)
|
|
- [ThrowIfExisting](../../devkit/documents/OverwriteStrategy#throwifexisting)
|
|
|
|
## Enumeration Members
|
|
|
|
### KeepExisting
|
|
|
|
• **KeepExisting** = `"keepExisting"`
|
|
|
|
---
|
|
|
|
### Overwrite
|
|
|
|
• **Overwrite** = `"overwrite"`
|
|
|
|
---
|
|
|
|
### ThrowIfExisting
|
|
|
|
• **ThrowIfExisting** = `"throwIfExisting"`
|