Skip to main content

resolve_gitlab_package_file

Function resolve_gitlab_package_file 

Source
pub fn resolve_gitlab_package_file(
    base: &str,
    project: &str,
    package: &str,
    version: &str,
    file: FileSelector<'_>,
    token: Option<&str>,
) -> Result<GitLabPackageFile, GitLabError>
Expand description

Resolve one file of package@version in project.

base is the instance (https://gitlab.com); project its path (group/name) or numeric id. A version may have been published more than once and a file uploaded more than once; the most recent of each wins.