MCPcopy Create free account
hub / github.com/Nariod/RustPacker / copy_template

Function copy_template

src/puzzle.rs:61–69  ·  view source on GitHub ↗
(source: &Path, dest: &Path)

Source from the content-addressed store, hash-verified

59}
60
61fn copy_template(source: &Path, dest: &Path) -> Result<(), Box<dyn std::error::Error>> {
62 let options = CopyOptions {
63 content_only: true,
64 ..Default::default()
65 };
66 copy(source, dest, &options)?;
67
68 Ok(())
69}
70
71fn template_path_for_execution(execution: &Execution) -> &'static Path {
72 match execution {

Callers 1

assembleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected