MCPcopy Index your code
hub / github.com/cargo-lambda/cargo-lambda / cleanup_tmp_dir

Function cleanup_tmp_dir

crates/cargo-lambda-new/src/template.rs:365–368  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

363}
364
365fn cleanup_tmp_dir(path: &Path) {
366 let _ = remove_dir_all(path.join(".git"));
367 let _ = remove_file(path.join("cargo-lambda-template.zip"));
368}
369
370fn translate_shortcut(uri: &str) -> Option<String> {
371 if uri.starts_with("gh:") {

Callers 1

cleanupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected