Skip to content

PinProgress

Namespace Nfty.Core.Publish.Ipfs in assembly Nfty.Core.

public sealed record PinProgress

How far a folder upload has got.

Constructors

PinProgress(long, long)

public PinProgress(long BytesSent, long BytesTotal);

Parameters

  • BytesSent (long) - Request bytes written so far.
  • BytesTotal (long) - Request bytes in all.

Properties

BytesSent

public long BytesSent { get; init; }

Request bytes written so far.

BytesTotal

public long BytesTotal { get; init; }

Request bytes in all.

Fraction

public double Fraction { get; }

PinProgress.BytesSent over PinProgress.BytesTotal, between 0 and 1.