MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / create_test_file

Function create_test_file

crates/cargo-lambda-remote/src/tls.rs:265–268  ·  view source on GitHub ↗
(source: &str, destination: &PathBuf)

Source from the content-addressed store, hash-verified

263 use super::*;
264
265 fn create_test_file(source: &str, destination: &PathBuf) {
266 std::fs::create_dir_all(destination.parent().unwrap()).unwrap();
267 std::fs::copy(source, destination).unwrap();
268 }
269
270 #[tokio::test]
271 async fn test_tls_options_default() {

Callers 5

test_tls_options_defaultFunction · 0.85
test_cached_pathsFunction · 0.85

Calls

no outgoing calls

Tested by 5

test_tls_options_defaultFunction · 0.68
test_cached_pathsFunction · 0.68