ProGet SDK Reference
Version:

DefaultPackageStore Class

Default implementation of ProGet's directory-based package store.

Inheritance Hierarchy

Syntax

public class DefaultPackageStore : PackageStore, Inedo.Diagnostics.ILogger, Inedo.ProGet.Feeds.Docker.IDockerPackageStore

Constructors

Name Description
DefaultPackageStore

Initializes a new instance of the DefaultPackageStore class.

DefaultPackageStore(string rootPath)

Initializes a new instance of the DefaultPackageStore class.

Properties

Name Description
RootPath

Gets or sets the root path.

Methods

Name Description
CleanAsync(IPackageIndex packageIndex)

Performs a cleanup and consistency check for the package store.

CleanNpmAsync(IPackageIndex packageIndex)

Performs a cleanup and consistency check for npm feeds.

CleanNuGetAsync(IPackageIndex packageIndex)

Performs a cleanup and consistency check for NuGet feeds.

CleanUniversalAsync(IPackageIndex packageIndex)

Performs a cleanup and consistency check for universal feeds.

CreatePackageAsync(PackageStorePackageId packageId)

Returns an empty stream which can be used to write a new package to the store.

DeletePackageAsync(PackageStorePackageId packageId)

Deletes a package from the store.

OpenPackageAsync(PackageStorePackageId packageId)

Returns a stream backed by the specified package if it exists; otherwise returns null (Nothing in Visual Basic).