ExtractZipArchiveParams
Parameters for extractZipArchive.
Import:
import type { ExtractZipArchiveParams } from 'obsidian-dev-utils/desktop-zip-extractor';Signature:
export interface ExtractZipArchiveParamsProperties
| Property | Type | Description |
|---|---|---|
| archive | Buffer | The raw ZIP archive bytes. |
| fileSystem | ZipExtractionFileSystem | The file-system implementation the extracted entries are written with. Injected rather than imported so the caller chooses which fs writes the files. The demo-vault opener hands over Electron's original-fs (see ZipExtractionFileSystem). |
| targetDirectory | string | The directory to extract into. Created if it does not exist. |
Links to this page: