github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/simple-git/dist/src/lib/simple-git-api.d.ts (about)

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