Skip to content

Commit a7188b7

Browse files
author
amaidniazi
committed
Code cleanup
1 parent 8eafc0a commit a7188b7

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

src/CoreApi/AddFileOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public class AddFileOptions
100100
/// <summary>
101101
/// Flag for no cache argument
102102
/// </summary>
103-
public bool? NoCache {get; set; }
103+
public bool? NoCopy {get; set; }
104104

105105
/// <summary>
106106
/// Flag for fs cache argument

src/CoreApi/IFilestoreApi.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,21 @@ public interface IFilestoreApi
1717
public Task<IDupsResponse> DupsAsync(CancellationToken token);
1818

1919
/// <summary>
20-
/// Lists objects in filestore.
20+
/// Lists filestore objects
2121
/// </summary>
22+
/// <param name="cid">Cid of objects to verify. Required: no.</param>
23+
/// <param name="token">The cancellation token.</param>
24+
/// <param name="fileOrder">Verify the objects based on the order of the backing file. Required: no.</param>
2225
/// <returns></returns>
23-
public Task<IFilesStoreApiObjectResponse> ListAsync(string cid, CancellationToken token, bool fileOrder);
26+
public Task<IFilestoreApiObjectResponse> ListAsync(string cid, bool fileOrder, CancellationToken token);
2427

2528
/// <summary>
26-
/// Verifies objects in filestore.
29+
///
2730
/// </summary>
28-
public Task<IFilesStoreApiObjectResponse> VerifyObjectsAsync(string cid, bool fileOrder, CancellationToken token);
31+
/// <param name="cid">Cid of objects to list. Required: no.</param>
32+
/// <param name="token">The cancellation token.</param>
33+
/// <param name="fileOrder">Lists the objects based on the order of the backing file. Required: no.</param>
34+
/// <returns></returns>
35+
public Task<IFilestoreApiObjectResponse> VerifyObjectsAsync(string cid, bool fileOrder, CancellationToken token);
2936
}
3037
}

src/CoreApi/IFilesStoreApiObjectResponse.cs renamed to src/CoreApi/IFilestoreApiObjectResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Ipfs.CoreApi
55
/// <summary>
66
/// Interface for <see cref="IFilestoreApi"/> repsonse.
77
/// </summary>
8-
public interface IFilesStoreApiObjectResponse
8+
public interface IFilestoreApiObjectResponse
99
{
1010
/// <summary>
1111
/// Holds any error message.

0 commit comments

Comments
 (0)