diff options
Diffstat (limited to 'src/generator/static_files.rs')
| -rw-r--r-- | src/generator/static_files.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/generator/static_files.rs b/src/generator/static_files.rs index 8c55de3..b4ec9fd 100644 --- a/src/generator/static_files.rs +++ b/src/generator/static_files.rs @@ -1,14 +1,9 @@ -use crate::template::TemplateContext; +use crate::template::Context; use crate::utils::recursively_copy; use std::io::Result; -use std::path::PathBuf; +use std::path::Path; -pub fn generate( - source: &PathBuf, - _: &PathBuf, - target: &PathBuf, - _: &TemplateContext, -) -> Result<()> { +pub fn generate(source: &Path, _: &Path, target: &Path, _: &Context) -> Result<()> { if source.exists() { return recursively_copy(source, target); } |