snapcube
Version:
📦 Snapshot, backup, and restore any project — binary-safe, fast, and simple CLI.
13 lines • 683 B
TypeScript
import { ServiceOptions } from "../types";
/**
* Clone (snapshot) a Gitlab repository into a JSON file.
*
* @param repository - Repository in the format "owner/repo"
* @param options - Configuration for how files should be scanned
* - ignoreBinaries: Skip contents of binary files (images, pdfs, etc.)
* - ignoreAll: Skip contents of all files (structure only)
* - token: Reserved for GitHub API use (not used in local scans)
* - structureOnly: If true, combine `filePath` + `fileName` into one
*/
export declare const cloneGitlabRepo: (repository: string, branch: string, options?: ServiceOptions) => Promise<void>;
//# sourceMappingURL=cloneGitlabRepo.d.ts.map