Skip to content

Commit

Permalink
fix(IBlockRepository): forgot the Async suffix for methods
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed May 29, 2019
1 parent ae56cf6 commit 38c2aae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/CoreApi/IBlockRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public interface IBlockRepositoryApi
/// <returns>
/// TODO: not sure what this should return.
/// </returns>
Task RemoveGarage(CancellationToken cancel = default(CancellationToken));
Task RemoveGarbageAsync(CancellationToken cancel = default(CancellationToken));

/// <summary>
/// Get statistics on the repository.
Expand All @@ -36,7 +36,7 @@ public interface IBlockRepositoryApi
/// <remarks>
/// Same as <see cref="IStatsApi.RepositoryAsync(CancellationToken)"/>.
/// </remarks>
Task<RepositoryData> Statistics(CancellationToken cancel = default(CancellationToken));
Task<RepositoryData> StatisticsAsync(CancellationToken cancel = default(CancellationToken));

/// <summary>
/// Verify all blocks in repo are not corrupted.
Expand All @@ -47,7 +47,7 @@ public interface IBlockRepositoryApi
/// <returns>
/// TODO: not sure what this should return.
/// </returns>
Task Verify(CancellationToken cancel = default(CancellationToken));
Task VerifyAsync(CancellationToken cancel = default(CancellationToken));

/// <summary>
/// Gets the version number of the repo.
Expand All @@ -59,6 +59,6 @@ public interface IBlockRepositoryApi
/// A task that represents the asynchronous operation. The task's result is
/// the version number of the data block repository.
/// </returns>
Task<string> Version(CancellationToken cancel = default(CancellationToken));
Task<string> VersionAsync(CancellationToken cancel = default(CancellationToken));
}
}

0 comments on commit 38c2aae

Please sign in to comment.