]> git.r.bdr.sh - rbdr/blog/blame_incremental - src/generator/static_files.rs
Fix typo dab / deb
[rbdr/blog] / src / generator / static_files.rs
... / ...
CommitLineData
1use std::io::Result;
2use std::path::PathBuf;
3use crate::template::TemplateContext;
4use crate::utils::recursively_copy;
5
6pub fn generate(source: &PathBuf, _: &PathBuf, target: &PathBuf, _: &TemplateContext) -> Result<()> {
7 if source.exists() {
8 return recursively_copy(source, target)
9 }
10 Ok(())
11}