mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-11-10 14:01:06 +07:00
26 lines
790 B
TypeScript
26 lines
790 B
TypeScript
|
/**
|
||
|
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
|
||
|
* replaced with /.
|
||
|
*
|
||
|
* @param pth. Path to transform.
|
||
|
* @return string Posix path.
|
||
|
*/
|
||
|
export declare function toPosixPath(pth: string): string;
|
||
|
/**
|
||
|
* toWin32Path converts the given path to the win32 form. On Linux, / will be
|
||
|
* replaced with \\.
|
||
|
*
|
||
|
* @param pth. Path to transform.
|
||
|
* @return string Win32 path.
|
||
|
*/
|
||
|
export declare function toWin32Path(pth: string): string;
|
||
|
/**
|
||
|
* toPlatformPath converts the given path to a platform-specific path. It does
|
||
|
* this by replacing instances of / and \ with the platform-specific path
|
||
|
* separator.
|
||
|
*
|
||
|
* @param pth The path to platformize.
|
||
|
* @return string The platform-specific path.
|
||
|
*/
|
||
|
export declare function toPlatformPath(pth: string): string;
|