MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / normalizePath

Function normalizePath

src/hooks/urlLoaderPolicy.ts:121–123  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

119}
120
121function normalizePath(path: string): string {
122 return path.replace(/^\/+|\/+$/g, '');
123}
124
125function decodeHtmlAttribute(value: string): string {
126 return value

Callers 2

getRelativeUrlPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected