@google-github-actions/actions-utils
@google-github-actions/actions-utils / path / toPlatformPath
toPlatformPath(
pth):string
Defined in: path.ts:49
toPlatformPath converts the given path to a platform-specific path. It does this by replacing instances of / and \ with the platform-specific path separator.
string
The path to platformize.
string
string The platform-specific path.