aboutsummaryrefslogtreecommitdiff
path: root/node_modules/simple-git/src/lib/simple-git-api.d.ts
blob: 0fd7761dca33d11f95b44ecc631cdf63f8ce9744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { SimpleGitBase } from '../../typings';
import { outputHandler, SimpleGitExecutor, SimpleGitTask, SimpleGitTaskCallback } from './types';
export declare class SimpleGitApi implements SimpleGitBase {
    private _executor;
    constructor(_executor: SimpleGitExecutor);
    protected _runTask<T>(task: SimpleGitTask<T>, then?: SimpleGitTaskCallback<T>): any;
    add(files: string | string[]): any;
    cwd(directory: string | {
        path: string;
        root?: boolean;
    }): any;
    hashObject(path: string, write: boolean | unknown): any;
    init(bare?: boolean | unknown): any;
    merge(): any;
    mergeFromTo(remote: string, branch: string): any;
    outputHandler(handler: outputHandler): this;
    push(): any;
    stash(): any;
    status(): any;
}