Skip to main content

deploy_copy

Function deploy_copy 

Source
pub fn deploy_copy(
    action: &FileAction,
    target_dir: &Path,
    dry_run: bool,
    force: bool,
    rendered_content: Option<&str>,
) -> Result<DeployResult>
Expand description

Deploy a file by copying content directly to the target.

Used for templates (rendered content) and system-mode files. Templates get rendered content written; base/override files are copied from source.