Skip to main content

lib/
fn_doc_models.rs

1use crate::fn_filespath::Task;
2use crate::fn_weight::WeightConfig;
3
4/// Struktura definiująca jedno zadanie generowania pliku Markdown
5pub struct DocTask<'a> {
6    pub output_filename: &'a str,
7    pub insert_tree: &'a str, // "dirs-first", "files-first", "with-out"
8    pub id_style: &'a str,    // "id-tag", "id-num", "id-non"
9    pub tasks: Vec<Task<'a>>,
10    pub weight_config: WeightConfig, // Nowe pole
11    pub watermark: &'a str,
12    pub command_str: Option<String>,
13    pub suffix_stamp: bool,
14    pub title_file: &'a str,
15    pub title_file_with_path: bool,
16}