core: add helpers for working with paths across OSes#1102
core: add helpers for working with paths across OSes#1102thboop merged 1 commit intoactions:mainfrom sethvargo:sethvargo/path
Conversation
konradpabjan
left a comment
There was a problem hiding this comment.
Overall this looks great!
Could you go ahead and document these new functions in the README for @actions/core: https://github.com/actions/toolkit/tree/main/packages/core
|
@konradpabjan done |
konradpabjan
left a comment
There was a problem hiding this comment.
Looks good to me!
I'll differ for the final approval from @thboop before merging in
thboop
left a comment
There was a problem hiding this comment.
LGTM thanks for the contribution!
|
I was wondering what the purpose of these functions was compared to those from the native Path module (link). I figured it was discussed offline since it wasn't in the PR description. I'd love to understand so I can have a better idea of when they're recommended. Thanks! |
|
Hi @RA80533 these functions are for converting from platform-specific or non-platform-specific paths, regardless of the underlying operating system. |
No description provided.