Struct shtola::Config [−][src]
pub struct Config {
pub ignores: Vec<String>,
pub source: PathBuf,
pub destination: PathBuf,
pub clean: bool,
pub frontmatter: bool,
}
Expand description
Configuration struct.
Fields
ignores: Vec<String>
Files that are to be ignored.
source: PathBuf
Source to read from.
destination: PathBuf
Destination to write to.
clean: bool
Whether to clean the destination directory.
frontmatter: bool
Whether to parse frontmatter.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more