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

Function hasImageFailed

src/hooks/asyncImageDecode.ts:27–29  ·  view source on GitHub ↗
(cacheKey: string)

Source from the content-addressed store, hash-verified

25const failedImages = new Set<string>();
26
27export function hasImageFailed(cacheKey: string): boolean {
28 return failedImages.has(cacheKey);
29}
30
31export function getFailedImageCount(): number {
32 return failedImages.size;

Callers 2

loadFromFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected