UNPKG

gitly

Version:

An API to download and/or extract git repositories

7 lines (6 loc) 413 B
import * as tar from 'tar'; import type GitlyOptions from '../interfaces/options'; import type URLInfo from '../interfaces/url'; export declare function getArchiveUrl(info: URLInfo, options?: GitlyOptions): string; export declare function getArchivePath(info: URLInfo, options?: GitlyOptions): string; export declare const extract: import("tar/dist/commonjs/make-command").TarCommand<tar.Unpack, tar.UnpackSync>;