OpenTAP 9.27
API Reference
|
This graph describes every version of every package in a memory-efficient way. Each unique name version and version specifier is represented by one value, connections between them are some dictionaries. The graph can be merged from multiple different sources - both file repositories and http repositories, but the source of each becomes lost when building the graph. When the source is needed a new lookup will be needed from a different place, this code is not really concerned with that. More...
Public Member Functions | |
void | LoadFromJson (JsonElement packages) |
This is only used in unittests. It works for respones from the 3.1/query API, but not the 4.0/query API. | |
IEnumerable< PackageDef > | PackageSpecifiers () |
Turn all the data back into PackageDefs, note that these PackageDefs are severly limited and should only be used for testing or for building another graph. More... | |
IEnumerable< PackageSpecifier > | GetDependencies (string pkgName, SemanticVersion version) |
Gets the dependencies for a specific package version. | |
void | Absorb (PackageDependencyGraph graph) |
Absorbs another package dependency graph into the structure. | |
Properties | |
int | Count [get] |
The total number of packages contained in this graph. | |
This graph describes every version of every package in a memory-efficient way. Each unique name version and version specifier is represented by one value, connections between them are some dictionaries. The graph can be merged from multiple different sources - both file repositories and http repositories, but the source of each becomes lost when building the graph. When the source is needed a new lookup will be needed from a different place, this code is not really concerned with that.
|
inline |
Turn all the data back into PackageDefs, note that these PackageDefs are severly limited and should only be used for testing or for building another graph.
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46