IPackageRepository Interface
Provides the base requirements for a class that manages package instances and caching of data as appropriate.
public interface IPackageRepository
Methods
GetPackageDefinition(PythonVersion, String)
Returns an IPackageDefinition based on cached package data, if it is available.
IPackageDefinition GetPackageDefinition(PythonVersion version, string path)
Parameter | Type | Description |
---|---|---|
version | PythonVersion | The PythonVersion to use for parsing. |
path | String | The root package path to examine. |
Returns
- IPackageDefinition:
The cached IPackageDefinition data.
QueuePackageCacheUpdate(PythonVersion, String, Boolean, Boolean)
Queues a package cache update operation, optionally recursing into child packages.
void QueuePackageCacheUpdate(PythonVersion version, string path, bool isRootPath, bool recurse)
Parameter | Type | Description |
---|---|---|
version | PythonVersion | The PythonVersion to use for parsing. |
path | String | The root package path to examine. |
isRootPath | Boolean | Whether this is a root path. |
recurse | Boolean | Whether to recurse into child packages. |