UNPKG

simple-git

Version:

Simple GIT interface for node.js

15 lines (14 loc) 529 B
import { SimpleGitTask } from '../tasks/task'; import { GitExecutorEnv, outputHandler, SimpleGitExecutor } from '../types'; import { Scheduler } from './scheduler'; export declare class GitExecutor implements SimpleGitExecutor { binary: string; cwd: string; private _scheduler; private _chain; env: GitExecutorEnv; outputHandler?: outputHandler; constructor(binary: string, cwd: string, _scheduler: Scheduler); chain(): SimpleGitExecutor; push<R>(task: SimpleGitTask<R>): Promise<void | R>; }