Skip to content

Commit 99b8e33

Browse files
author
QingWei-Li
committed
更改参数顺序与原始顺序保持一致
1 parent f6de63c commit 99b8e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Qiniu/RSF/RSFClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public RSFClient (string bucketName)
9595
/// <param name='limit'>
9696
/// Limit.
9797
/// </param>
98-
public DumpRet ListPrefix (string bucketName, int limit=0, string prefix="", string markerIn="")
98+
public DumpRet ListPrefix(string bucketName, string prefix = "", string markerIn = "", int limit = 0)
9999
{
100100
string url = Config.RSF_HOST + string.Format ("/list?bucket={0}", bucketName);// + bucketName +
101101
if (!string.IsNullOrEmpty (markerIn)) {
@@ -152,7 +152,7 @@ public List<DumpItem> Next ()
152152
return null;
153153
}
154154
try {
155-
DumpRet ret = ListPrefix (this.bucketName,this.limit, this.prefix, this.marker);
155+
DumpRet ret = ListPrefix(this.bucketName, this.prefix, this.marker, this.limit);
156156
if (ret.Items.Count == 0) {
157157
end = true;
158158
return null;

0 commit comments

Comments
 (0)