UNPKG

@altano/repository-tools

Version:

Misc tools for dealing with repositories of multiple version control systems (git, svn, etc)

8 lines 606 B
//#region src/repositoryCommand.d.ts type RepositoryCommand = "git" | "hg" | "sl" | "svn" | "svnadmin" | "svnrdump"; declare function repositoryExec(cwd: string, command: RepositoryCommand, args: readonly string[]): Promise<string>; declare function repositoryExecSync(cwd: string, command: RepositoryCommand, args: readonly string[]): string; declare const createExecForDirectory: (cwd: string) => ((command: RepositoryCommand, args: readonly string[]) => Promise<string>); //#endregion export { createExecForDirectory, repositoryExec, repositoryExecSync }; //# sourceMappingURL=repositoryCommand.d.ts.map