Skip to main content

fetch_package_lua

Function fetch_package_lua 

Source
pub fn fetch_package_lua(
    registry: &RegistryInfo,
    repo: &str,
    name: &str,
) -> Result<String, Error>
Expand description

Fetches the .pkg.lua definition for a package from a registry.

ยงErrors

Returns an error if the file cannot be fetched or read.