UNPKG

ogit

Version:

A lazy developer's Git CLI made simple. Makes using git on cloud IDEs (i.e. C9) a walk in the park.

27 lines (26 loc) 670 B
import 'reflect-metadata'; import { GitFile } from './GitFile'; export declare enum ChangeTypes { Deleted = "D", New = "?", Modified = "M", Added = "A", Renamed = "R" } export declare class GitStatus { readonly all: GitFile[]; readonly deleted: GitFile[]; readonly created: GitFile[]; readonly added: GitFile[]; readonly modified: GitFile[]; currentBranch: string; trackingBranch: string; private readonly _files; private readonly notAdded; private readonly conflicted; private readonly renamed; private readonly staged; private readonly ahead; private readonly behind; private getFiles; }