Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
121
function
normalizePath(path: string): string {
122
return
path.replace(/^\/+|\/+$/g,
''
);
123
}
124
125
function
decodeHtmlAttribute(value: string): string {
126
return
value
Callers
2
getRelativeUrlPath
Function · 0.85
getRelativeHuggingFaceTreePath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected