File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ OPS [(int)op],
8080 return Call ( url ) ;
8181 }
8282
83- private CallRet opFetch ( FileHandle op , string fromUrl , EntryPathPair pari )
83+ private CallRet opFetch ( FileHandle op , string fromUrl , EntryPath entryPath )
8484 {
8585 string url = string . Format ( "{0}/{1}/{2}/to/{3}" ,
8686 Config . RS_HOST ,
8787 OPS [ ( int ) op ] ,
8888 Base64URLSafe . Encode ( fromUrl ) ,
89- Base64URLSafe . Encode ( pari . URIDest ) ) ;
89+ Base64URLSafe . Encode ( entryPath . URI ) ) ;
9090 return Call ( url ) ;
9191 }
9292
@@ -143,11 +143,11 @@ public CallRet Copy (EntryPathPair pathPair)
143143 /// 抓取资源
144144 /// </summary>
145145 /// <param name="fromUrl">需要抓取的文件URL</param>
146- /// <param name="pathPair">标准EntryPathPai对应, 可不输入source bucket及source key </param>
146+ /// <param name="entryPath">目标entryPath </param>
147147 /// <returns>见<see cref="CallRet">CallRet</see></returns>
148- public CallRet Fetch ( string fromUrl , EntryPathPair pathPair )
148+ public CallRet Fetch ( string fromUrl , EntryPath entryPath )
149149 {
150- return opFetch ( FileHandle . FETCH , fromUrl , pathPair ) ;
150+ return opFetch ( FileHandle . FETCH , fromUrl , entryPath ) ;
151151 }
152152
153153 /// <summary>
You can’t perform that action at this time.
0 commit comments