MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / fixSlashes

Function fixSlashes

src/shared/Util.ts:377–379  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

375 * @param str String to fix
376 */
377export function fixSlashes(str: string): string {
378 return str.replace(/\\/g, '/');
379}
380
381/**
382 * Checks whether we can write and read to a folder

Callers 8

recursiveFolderIndexFunction · 0.90
overwriteConfigDataFunction · 0.90
launchGameFunction · 0.90
parseAppVarFunction · 0.90
genCurationWarningsFunction · 0.90
parseVarStrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected