Skip to content

pkg/system: make IsAbs() platform-agnostic#44052

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:simplify_isabs
Aug 29, 2022
Merged

pkg/system: make IsAbs() platform-agnostic#44052
cpuguy83 merged 1 commit intomoby:masterfrom
thaJeztah:simplify_isabs

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

filepath.IsAbs() will short-circuit on Linux/Unix, so having a single implementation should not affect those platforms.

- A picture of a cute animal (not mandatory but encouraged)

filepath.IsAbs() will short-circuit on Linux/Unix, so having a single
implementation should not affect those platforms.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Aug 27, 2022
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