UNPKG

simple-git

Version:

Simple GIT interface for node.js

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