OpenTAP 9.25
API Reference
Static Public Member Functions | List of all members
OpenTap.Package.PackageDependencyQuery Class Reference

This class takes care of making the right package query queries to the repository server. More...

Static Public Member Functions

static PackageDependencyGraph QueryGraph (string repoUrl, string os, CpuArchitecture deploymentInstallationArchitecture, string preRelease="", string name=null)
 Queries the repository for a package dependency graph. If neither version nor name is specified, it will query for all release versions of all packages. More...
 
static PackageDependencyGraph LoadGraph (Stream stream, bool compressed)
 Only used by unit tests More...
 

Detailed Description

This class takes care of making the right package query queries to the repository server.

Member Function Documentation

◆ LoadGraph()

static PackageDependencyGraph OpenTap.Package.PackageDependencyQuery.LoadGraph ( Stream  stream,
bool  compressed 
)
inlinestatic

Only used by unit tests

Parameters
stream
compressed
Returns

◆ QueryGraph()

static PackageDependencyGraph OpenTap.Package.PackageDependencyQuery.QueryGraph ( string  repoUrl,
string  os,
CpuArchitecture  deploymentInstallationArchitecture,
string  preRelease = "",
string  name = null 
)
inlinestatic

Queries the repository for a package dependency graph. If neither version nor name is specified, it will query for all release versions of all packages.

Parameters
repoUrl
os
deploymentInstallationArchitecture
preReleaseIf specified, it expands the versions to include that preRelease. E.g alpha (everything), beta(releases, RCs and betas), rc (releases and RCs).
nameIf specified, limits the query to only packages of that name.
Returns

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:25