1 | /// <reference types="node" />
|
2 |
|
3 | declare namespace GulpZip {
|
4 | interface GulpZipOptions {
|
5 | /**
|
6 | * Compress
|
7 | * @default true
|
8 | */
|
9 | compress?: boolean | undefined;
|
10 |
|
11 | /**
|
12 | * Overrides the modification timestamp for all files added to the archive.
|
13 | *
|
14 | * Tip: Setting it to the same value across executions enables you to create stable archives
|
15 | * that change only when the contents of their entries change, regardless of whether those
|
16 | * entries were "touched" or regenerated.
|
17 | *
|
18 | * @default undefined
|
19 | */
|
20 | modifiedTime?: Date | undefined;
|
21 | }
|
22 | }
|
23 |
|
24 | declare function GulpZip(filename: string, options?: GulpZip.GulpZipOptions): NodeJS.ReadStream;
|
25 |
|
26 | export = GulpZip;
|