Skip to content
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

Client: convert output_base to Path #9245

Closed
wants to merge 1 commit into from

Conversation

laszlocsomor
Copy link
Contributor

Benefits of a Path abstraction instead of raw
strings:

  • type safety
  • no need to convert paths on Windows all the time
  • no need to check if paths are absolute

@laszlocsomor laszlocsomor changed the title WIP: Client: convert some path variables to Path Client: convert output_base to Path Aug 26, 2019
@laszlocsomor laszlocsomor marked this pull request as ready for review August 26, 2019 15:11
Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths on Windows all the time
- no need to check if paths are absolute

Change-Id: I33438503e692c27a31975b5e496da11ebfe300f3
@laszlocsomor
Copy link
Contributor Author

ping @meteorcloudy

@bazel-io bazel-io closed this in 242acd6 Aug 27, 2019
@laszlocsomor laszlocsomor deleted the paths-2 branch August 27, 2019 12:41
bazel-io pushed a commit that referenced this pull request Aug 27, 2019
*** Reason for rollback ***

TAP has detected 10 or more targets failed to build at 242acd6.

TO ROLLFORWARD (without additional approval): Use[]

To see all broken targets visit []
To prevent noise from flakes, TAP double-checked the following target fails to build:
[]
but used to build fine:
[]

Questions? Comments? See the URL:[]

*** Original change description ***

Client: convert output_base to Path

Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths on Windows all the time
- no need to check if paths are absolute

Closes #9245.

Change-Id: I33438503e692c27a31975b5e496da11ebfe300f3
PiperOrigin-RevId: 265667040
bazel-io pushed a commit that referenced this pull request Aug 27, 2019
(Roll-forward of commit 242acd6 that was rolled back
by commit 505ca7e because it broke Google-internal
build targets. Those are now fixed.)

Benefits of a Path abstraction instead of raw
strings:
- type safety
- no need to convert paths on Windows all the time
- no need to check if paths are absolute

Closes #9245.

RELNOTES: none
PiperOrigin-RevId: 265686214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants