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