Show / Hide Table of Contents

Interface IMigration

Provides a migration path to the repository.

Namespace: Ipfs.Engine.Migration
Assembly: Ipfs.Engine.dll
Syntax
public interface IMigration

Properties

| Improve this Doc View Source

CanDowngrade

Indicates that an downgrade can be performed.

Declaration
bool CanDowngrade { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

CanUpgrade

Indicates that an upgrade can be performed.

Declaration
bool CanUpgrade { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Version

The repository version that is created.

Declaration
int Version { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

DowngradeAsync(IpfsEngine, CancellationToken)

Downgrade the repository.

Declaration
Task DowngradeAsync(IpfsEngine ipfs, CancellationToken cancel = default(CancellationToken))
Parameters
Type Name Description
IpfsEngine ipfs

The IPFS system to downgrade.

CancellationToken cancel
Returns
Type Description
Task
| Improve this Doc View Source

UpgradeAsync(IpfsEngine, CancellationToken)

Upgrade the repository.

Declaration
Task UpgradeAsync(IpfsEngine ipfs, CancellationToken cancel = default(CancellationToken))
Parameters
Type Name Description
IpfsEngine ipfs

The IPFS system to upgrade.

CancellationToken cancel
Returns
Type Description
Task
  • Improve this Doc
  • View Source
Back to top Generated by DocFX