Represents an entry in a zip file (Filesystem API).

Hierarchy (view full)

Constructors

Properties

children: ZipEntry[]

The children of the entry.

The underlying EntryMetaData instance.

id: number

The ID of the instance.

name: string

The relative filename of the entry.

parent?: ZipEntry

The parent directory of the entry.

uncompressedSize: number

The uncompressed size of the content.

Methods

  • Tests the password on the entry and all children if any, returns true if the entry is not password protected

    Parameters

    Returns Promise<boolean>

  • Clones the entry

    Parameters

    • Optional deepClone: boolean

      true to clone all the descendants.

    Returns ZipEntry

  • Returns the full filename of the entry

    Returns string

  • Returns the filename of the entry relative to a parent directory

    Parameters

    Returns string

  • Tests if the entry or any of its children is password protected

    Returns boolean

  • Set the name of the entry

    Parameters

    • name: string

      The new name of the entry.

    Returns void

Generated using TypeDoc