]>
Commit | Line | Data |
---|---|---|
1 | use crate::template::Context; | |
2 | use crate::utils::recursively_copy; | |
3 | use std::io::Result; | |
4 | use std::path::Path; | |
5 | ||
6 | pub fn generate(source: &Path, _: &Path, target: &Path, _: &Context) -> Result<()> { | |
7 | if source.exists() { | |
8 | return recursively_copy(source, target); | |
9 | } | |
10 | Ok(()) | |
11 | } |