create_html

Function create_html 

Source
pub fn create_html(
    time_logs: &[TimeLog],
    charts_dir: &Path,
    label_filter: Option<&HashSet<String>>,
    label_others: Option<&Label>,
    repository_name: &str,
) -> Result<PathBuf, HtmlError>
Expand description

Creates a HTML file that contains statistics and charts about the given time logs. Returns the path of the created HTML file.

ยงErrors

Possible errors can be seen in HtmlError.