Skip to content

Commit

Permalink
fix: oops c&p error
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Mar 15, 2018
1 parent 83394c9 commit a32e127
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/CoreApi/IFileSystemApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,22 @@ public interface IFileSystemApi
/// </returns>
Task<String> ReadAllTextAsync(string path, CancellationToken cancel = default(CancellationToken));

/// <summary>
/// Reads an existing IPFS file.
/// </summary>
/// <param name="path">
/// A path to an existing file, such as "QmXarR6rgkQ2fDSHjSY5nM2kuCXKYGViky5nohtwgF65Ec/about"
/// or "QmZTR5bcpQD7cFgTorqxZDYaew1Wqgfbd2ud9QqGPAkK2V"
/// </param>
/// <param name="cancel">
/// Is used to stop the task. When cancelled, the <see cref="TaskCanceledException"/> is raised.
/// </param>
/// <returns>
/// A task that represents the asynchronous operation. The task's value is
/// a <see cref="Stream"/> to the file contents.
/// </returns>
Task<Stream> ReadFileAsync(string path, CancellationToken cancel = default(CancellationToken));

/// <summary>
/// Reads an existing IPFS file with the specified offset.
/// </summary>
Expand Down

0 comments on commit a32e127

Please sign in to comment.