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

Function normalizeImagePath

src/utils/imageFileLookupPolicy.ts:50–52  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

48}
49
50export function normalizeImagePath(path: string): string {
51 return path.replace(/\\/g, '/');
52}
53
54export function isImageFile(path: string): boolean {
55 const lowerPath = path.toLowerCase();

Callers 9

getImageFileFunction · 0.90
getPathSuffixesFunction · 0.85
isAuxiliaryImagePathFunction · 0.85
isMaskImagePathFunction · 0.85
buildImageUrlFunction · 0.85
getMaskLookupPathsFunction · 0.85
getMaskPathVariantsFunction · 0.85
buildMaskUrlCandidatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected