FileTransferProgress record

Namespace Runic.Platform in Runic.Platform 0.23.0

public sealed record FileTransferProgress : IEquatable<FileTransferProgress>

Inherits or implements IEquatable.

How far a file transfer is.

Parameters

CompletedItems

Files, directories and links done or skipped.

TotalItems

Files, directories and links in every source.

CompletedBytes

Bytes of file content done or skipped.

TotalBytes

Bytes of file content in every source.

CurrentPath

The source entry being transferred, or null once the transfer completed.

Constructors

FileTransferProgress

public FileTransferProgress(int CompletedItems, int TotalItems, long CompletedBytes, long TotalBytes, string? CurrentPath)

How far a file transfer is.

Parameters

CompletedItems

Files, directories and links done or skipped.

TotalItems

Files, directories and links in every source.

CompletedBytes

Bytes of file content done or skipped.

TotalBytes

Bytes of file content in every source.

CurrentPath

The source entry being transferred, or null once the transfer completed.

Properties

CompletedBytes

public long CompletedBytes { get; init; }

Bytes of file content done or skipped.

CompletedItems

public int CompletedItems { get; init; }

Files, directories and links done or skipped.

CurrentPath

public string? CurrentPath { get; init; }

The source entry being transferred, or null once the transfer completed.

TotalBytes

public long TotalBytes { get; init; }

Bytes of file content in every source.

TotalItems

public int TotalItems { get; init; }

Files, directories and links in every source.