UNPKG

commitmnt

Version:

Copy your gitlab and bitbucket commits to a new, publishable github repo

13 lines (12 loc) 457 B
import { Deps, Repository } from '../../types'; /** * Helper function that represents the copy operation for a single repo. * Uses {@link getCommitsForRepo} & {@link copyCommitsToRepo} together * to copy commits from a list of repositories. * * @param repo the repository to copy * @returns the number of commits copied * * @category Public API Module */ export declare function copyRepo(deps: Deps, repo: Repository): Promise<number>;