14 lines
318 B
TypeScript
14 lines
318 B
TypeScript
|
/**
|
||
|
* @author Martin Karkowski
|
||
|
* @email m.karkowski@zema.de
|
||
|
* @create date 2022-01-10 18:29:07
|
||
|
* @modify date 2022-01-10 18:29:07
|
||
|
* @desc [description]
|
||
|
*/
|
||
|
|
||
|
import { replaceAll } from "./stringMethods";
|
||
|
|
||
|
export function convertPath(path: string): string {
|
||
|
return replaceAll(path, [".", "[", ["]", ""]], "/");
|
||
|
}
|