Skip to content

Commit

Permalink
docs: clarify IBlockApi.StatAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Mar 16, 2018
1 parent a32e127 commit 92557db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CoreApi/IBlockApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@ Task<Cid> PutAsync(
/// </param>
/// <returns>
/// A task that represents the asynchronous operation. The task's value
/// contains the block's id and size.
/// contains the block's id and size or <b>null</b>.
/// </returns>
/// <remarks>
/// Only the local repository is consulted for the block. If <paramref name="id"/>
/// does not exist, then <b>null</b> is retuned.
/// </remarks>
Task<IDataBlock> StatAsync(Cid id, CancellationToken cancel = default(CancellationToken));

/// <summary>
Expand Down

0 comments on commit 92557db

Please sign in to comment.