Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/actionify/config/deps/github.ts>coreActions.toPlatformPath

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function coreActions.toPlatformPath
import { coreActions } from "https://deno.land/x/actionify@0.3.0/config/deps/github.ts";
const { toPlatformPath } = coreActions;

toPlatformPath converts the given path to a platform-specific path. It does this by replacing instances of / and \ with the platform-specific path separator.

Parameters

pth: string

The path to platformize.

Returns

string

string The platform-specific path.