Files
codeql-action/node_modules/@actions/artifact/lib/internal/upload/zip.d.ts
Angela P Wen a196a714b8 Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
Co-authored-by: Henry Mercer <henrymercer@github.com>
2024-10-01 09:59:05 -07:00

10 lines
489 B
TypeScript

/// <reference types="node" />
import * as stream from 'stream';
import { UploadZipSpecification } from './upload-zip-specification';
export declare const DEFAULT_COMPRESSION_LEVEL = 6;
export declare class ZipUploadStream extends stream.Transform {
constructor(bufferSize: number);
_transform(chunk: any, enc: any, cb: any): void;
}
export declare function createZipUploadStream(uploadSpecification: UploadZipSpecification[], compressionLevel?: number): Promise<ZipUploadStream>;