-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-38758: [C++][FS][Azure] Rename AzurePath to AzureLocation #38773
Conversation
It's for readability. AzurePath::path_to_file may be confused.
|
@Tom-Newton @felipecrv You may want to review this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
I'll merge this for following Azure related work. |
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 46c226e. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…pache#38773) ### Rationale for this change It's for readability. `AzurePath::path_to_file` may refer a directory but its name includes `file`. ### What changes are included in this PR? Rename `AzurePath` to `AzureLocation`: * `AzurePath::path_to_file` -> `AzureLocation::path` * `AzurePath::path_to_file_parts` -> `AzureLocation::path_parts` * `AzurePath::full_path` -> `AzureLocation::all` ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#38758 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
Rationale for this change
It's for readability.
AzurePath::path_to_file
may refer a directory but its name includesfile
.What changes are included in this PR?
Rename
AzurePath
toAzureLocation
:AzurePath::path_to_file
->AzureLocation::path
AzurePath::path_to_file_parts
->AzureLocation::path_parts
AzurePath::full_path
->AzureLocation::all
Are these changes tested?
Yes.
Are there any user-facing changes?
No.
AzurePath
toAzureLocation
#38758