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

Function shouldLogDecodeFailure

src/hooks/asyncImageDecode.ts:44–46  ·  view source on GitHub ↗
(failedImageCount: number)

Source from the content-addressed store, hash-verified

42}
43
44export function shouldLogDecodeFailure(failedImageCount: number): boolean {
45 return failedImageCount <= 20;
46}
47
48export function shouldLogDecodeFailureSuppression(failedImageCount: number): boolean {
49 return failedImageCount === 21;

Callers 2

loadFromFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected