MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / package

Method package

lib/packager.ts:33–35  ·  view source on GitHub ↗
(directory: string, destination: string)

Source from the content-addressed store, hash-verified

31
32export class Packager {
33 async package(directory: string, destination: string): Promise<string> {
34 return await this.tarGzFiles(directory, destination);
35 }
36
37 async unpack(packageFile: string, destination: string): Promise<string> {
38 await decompress({source: packageFile, destination});

Callers 2

packager-tests.tsFile · 0.80

Calls 1

tarGzFilesMethod · 0.95

Tested by

no test coverage detected