UNPKG

simple-git

Version:

Simple GIT interface for node.js

24 lines • 774 B
import { GitError } from '../errors/git-error'; import { type OutputLogger } from '../git-logger'; import type { SimpleGitTask } from '../types'; type AnySimpleGitTask = SimpleGitTask<any>; type TaskInProgress = { name: string; logger: OutputLogger; task: AnySimpleGitTask; }; export declare class TasksPendingQueue { private logLabel; private _queue; constructor(logLabel?: string); private withProgress; private createProgress; push(task: AnySimpleGitTask): TaskInProgress; fatal(err: GitError): void; complete(task: AnySimpleGitTask): void; attempt(task: AnySimpleGitTask): TaskInProgress; static getName(name?: string): string; private static counter; } export {}; //# sourceMappingURL=tasks-pending-queue.d.ts.map