pub fn parse_lua_package(
file_path: &str,
version_override: Option<&str>,
scope: Option<Scope>,
quiet: bool,
) -> Result<Package>Expand description
Parses a Lua package definition from either a file or an archive.
This function detects the current platform and uses it for resolution.
ยงErrors
Returns an error if the file or archive cannot be read or parsed.