Skip to content

Commit

Permalink
rename private function name to copyFromRemote
Browse files Browse the repository at this point in the history
  • Loading branch information
datadius committed May 2, 2024
1 parent a8f3ca4 commit ed51210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (a *Client) CopyFromRemotePassThru(
remotePath string,
passThru PassThru,
) error {
_, err := a.copyFromRemoteFunctionality(ctx, w, remotePath, passThru, false)
_, err := a.copyFromRemote(ctx, w, remotePath, passThru, false)

return err
}
Expand All @@ -328,10 +328,10 @@ func (a *Client) CopyFromRemoteFileInfos(
remotePath string,
passThru PassThru,
) (*FileInfos, error) {
return a.copyFromRemoteFunctionality(ctx, w, remotePath, passThru, true)
return a.copyFromRemote(ctx, w, remotePath, passThru, true)
}

func (a *Client) copyFromRemoteFunctionality(
func (a *Client) copyFromRemote(
ctx context.Context,
w io.Writer,
remotePath string,
Expand Down

0 comments on commit ed51210

Please sign in to comment.