MCPcopy Index your code
hub / github.com/simstudioai/sim / readUncompressedSize

Function readUncompressedSize

apps/sim/lib/pptx-renderer/parser/zip-parser.ts:45–49  ·  view source on GitHub ↗
(file: JSZipObject)

Source from the content-addressed store, hash-verified

43}
44
45function readUncompressedSize(file: JSZipObject): number | undefined {
46 const data = (file as JSZipObject & { _data?: { uncompressedSize?: number } })._data
47 const size = data?.uncompressedSize
48 return typeof size === 'number' && Number.isFinite(size) ? size : undefined
49}
50
51async function mapWithConcurrency<T>(
52 items: T[],

Callers 1

parseZipFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected