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

Function is_remote_zip_file

crates/cargo-lambda-new/src/template.rs:265–267  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

263}
264
265fn is_remote_zip_file(path: &str) -> bool {
266 path.starts_with("https://") && path.ends_with(".zip")
267}
268
269fn find_local_zip_file(value: &str) -> Option<PathBuf> {
270 // ignore error to fallback to other template options.

Callers 1

try_fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected