Skip to main content

fetch_remote_module

Function fetch_remote_module 

Source
pub fn fetch_remote_module(
    url: &str,
    cache_base: &Path,
    printer: &Printer,
) -> Result<FetchedRemoteModule>
Expand description

Fetch a remote module from a git URL.

Validates that the URL has a pinned ref (tag or commit SHA). Branches are rejected for security (upstream push = code execution).