MCPcopy
hub / github.com/ionic-team/capacitor / convertToUnixPath

Function convertToUnixPath

cli/src/util/fs.ts:6–8  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

4import { join } from 'path';
5
6export const convertToUnixPath = (path: string): string => {
7 return path.replace(/\\/g, '/');
8};
9
10export const deleteFolderRecursive = (directoryPath: any): void => {
11 if (existsSync(directoryPath)) {

Callers 5

resolvePluginFunction · 0.90
installGradlePluginsFunction · 0.90
generatePodFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected