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

Function clearActiveZipArchive

src/utils/zipArchiveState.ts:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 * Clear the active ZIP archive and release resources.
50 */
51export function clearActiveZipArchive(): void {
52 // libarchive.js Archive does not expose a close method in every runtime path.
53 activeArchive = null;
54 activeImageIndex = null;
55 activeZipFileSize = 0;
56 activeZipImageCount = 0;
57}
58
59/**
60 * Get statistics about the active ZIP archive.

Callers 3

setActiveZipArchiveFunction · 0.85
clearZipCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected