UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

10 lines (9 loc) 373 B
/** * Convert a file path on the current system to a file path that can be used on Linux * * Takes the current OS' file separator and replaces all of them with a '/'. * * Relevant if the current system is a Windows machine but is generating * commands for a Linux CodeBuild image. */ export declare function toPosixPath(osPath: string, currentSep?: string): string;