pub fn parse_lua_package_from_archive(
archive_path: &Path,
version_override: Option<&str>,
scope: Option<Scope>,
quiet: bool,
) -> Result<Package>Expand description
Parses a Lua package definition from a Zoi archive (.zpa or .zsa).
This function detects the current platform and uses it for resolution.
ยงErrors
Returns an error if the archive cannot be read, unpacked, or if no
.pkg.lua is found.