-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IFileSystemApi): progress report when adding
- Loading branch information
1 parent
f9d1583
commit 5283093
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Ipfs.CoreApi | ||
{ | ||
/// <summary> | ||
/// Reports the <see cref="IProgress{T}">progress</see> of | ||
/// a transfer operation. | ||
/// </summary> | ||
public class TransferProgress | ||
{ | ||
/// <summary> | ||
/// The name of the item being trasfered. | ||
/// </summary> | ||
/// <value> | ||
/// Typically, a relative file path. | ||
/// </value> | ||
public string Name; | ||
|
||
/// <summary> | ||
/// The cumuative number of bytes transfered for | ||
/// the <see cref="Name"/>. | ||
/// </summary> | ||
public ulong Bytes; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5283093
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #52