Interface ZipReaderGetEntriesOptions

Represents the options passed to ZipReader#getEntries and ZipReader#getEntriesGenerator.

interface ZipReaderGetEntriesOptions {
    commentEncoding?: string;
    filenameEncoding?: string;
    onprogress?(progress, total, entry): Promise<void>;
}

Hierarchy (view full)

Properties

commentEncoding?: string

The encoding of the comment of the entry.

filenameEncoding?: string

The encoding of the filename of the entry.

Methods

  • The function called each time an entry is read/written.

    Parameters

    • progress: number

      The entry index.

    • total: number

      The total number of entries.

    • entry: EntryMetaData

      The entry being read/written.

    Returns Promise<void>

    An empty promise or undefined.

Generated using TypeDoc