tar-xz - v6.1.1
    Preparing search index...

    Interface CreateOptions

    Options for create().

    interface CreateOptions {
        files: TarSourceFile[];
        filter?: (file: TarSourceFile) => boolean;
        preset?: number;
    }
    Index

    Properties

    Properties

    files: TarSourceFile[]

    Files to include in the archive

    filter?: (file: TarSourceFile) => boolean

    Optional filter — return false to exclude a file. Called with the TarSourceFile before any I/O.

    preset?: number

    XZ compression preset 0–9 (default: 6)