MCPcopy
hub / github.com/stenciljs/core / normalizeFsPath

Function normalizeFsPath

src/utils/path.ts:163–163  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

161 * @returns the normalized path, sans any query strings
162 */
163export const normalizeFsPath = (p: string) => normalizePath(p.split('?')[0].replace(/\0/g, ''));
164
165export const normalizeFsPathQuery = (importPath: string) => {
166 const pathParts = importPath.split('?');

Callers 15

resolveModuleIdAsyncFunction · 0.85
isFileFunction · 0.85
isDirectoryFunction · 0.85
readFileFunction · 0.85
realpathFunction · 0.85
isFileFunction · 0.85
isDirectoryFunction · 0.85
realpathSyncFunction · 0.85
transformFunction · 0.85
transformFunction · 0.85
getWorkerEntryPathFunction · 0.85
loadFunction · 0.85

Calls 2

normalizePathFunction · 0.85
replaceMethod · 0.65

Tested by

no test coverage detected