//#region ../../node_modules/.pnpm/@stryke+path@0.26.4/node_modules/@stryke/path/dist/slash.mjs
/**
* Replace backslash to slash
*
* @param path - The string to replace
* @returns The string with replaced backslashes
*/
function slash(path) {
	if (path.startsWith("\\\\?\\")) return path;
	return path.replace(/\\/g, "/");
}

//#endregion
export { slash };
//# sourceMappingURL=slash.mjs.map