MCPcopy
hub / github.com/sveltejs/kit / posixify

Function posixify

packages/kit/src/utils/filesystem.js:112–114  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

110
111/** @param {string} str */
112export function posixify(str) {
113 return str.replace(/\\/g, '/');
114}
115
116/**
117 * Like `path.join`, but posixified and with a leading `./` if necessary

Callers 15

utils.jsFile · 0.90
prerenderFunction · 0.90
project_relativeFunction · 0.90
config_relativeFunction · 0.90
validate_user_configFunction · 0.90
relativeFunction · 0.90
write_all_typesFunction · 0.90
write_typesFunction · 0.90
update_typesFunction · 0.90
path_to_originalFunction · 0.90
path_to_matcherFunction · 0.90
create_hooksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected