nx
Version:
9 lines (8 loc) • 481 B
TypeScript
/**
* Extracts a file from a given tarball to the specified destination.
* @param tarballPath The path to the tarball from where the file should be extracted.
* @param file The path to the file inside the tarball.
* @param destinationFilePath The destination file path.
* @returns True if the file was extracted successfully, false otherwise.
*/
export declare function extractFileFromTarball(tarballPath: string, file: string, destinationFilePath: string): Promise<string>;