Permalink
Cannot retrieve contributors at this time
14 lines (14 sloc)
817 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@actions/artifact/lib/internal/upload-gzip.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="node" /> | |
/** | |
* Creates a Gzip compressed file of an original file at the provided temporary filepath location | |
* @param {string} originalFilePath filepath of whatever will be compressed. The original file will be unmodified | |
* @param {string} tempFilePath the location of where the Gzip file will be created | |
* @returns the size of gzip file that gets created | |
*/ | |
export declare function createGZipFileOnDisk(originalFilePath: string, tempFilePath: string): Promise<number>; | |
/** | |
* Creates a GZip file in memory using a buffer. Should be used for smaller files to reduce disk I/O | |
* @param originalFilePath the path to the original file that is being GZipped | |
* @returns a buffer with the GZip file | |
*/ | |
export declare function createGZipFileInBuffer(originalFilePath: string): Promise<Buffer>; |