Skip to main content

ggen_core/codegen_lib/
generation_mode.rs

1//! Generation mode for output file handling
2
3/// Generation mode for output files
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum GenerationMode {
6    /// Overwrite existing file
7    Overwrite,
8    /// Append to existing file
9    Append,
10    /// Skip if file exists
11    SkipIfExists,
12}