Options
All
  • Public
  • Public/Protected
  • All
Menu

dugite-extra based Git implementation.

Hierarchy

  • DugiteGit

Implements

Index

Constructors

Properties

blameParser: GitBlameParser
commitDetailsParser: CommitDetailsParser
envProvider: GitEnvProvider
execProvider: GitExecProvider
gitEnv: Deferred<Object> = ...
gitInit: GitInit
limit: 1000 = 1000
locator: GitLocator
logger: ILogger
nameStatusParser: NameStatusParser
ready: Deferred<void> = ...

Methods

  • add(repository: Repository, uri: string | string[]): Promise<void>
  • dispose(): void
  • fail(repository: string | Repository, message?: string): never
  • getCommitish(options?: Show): string
  • getCurrentBranch(repositoryPath: string, localBranch?: string): Promise<string | Branch>
  • getDefaultRemote(repositoryPath: string, remote?: string): Promise<undefined | string>
  • getFsPath(repository: string | Repository): string
  • getRemotes(repositoryPath: string): Promise<Remote[]>
  • getResetMode(mode: "mixed" | "hard" | "soft"): GitResetMode
  • getUri(path: string): string
  • init(): void
  • isNestedGitRepository(fileChange: FileChange): boolean
  • mapAheadBehind(toMap: undefined | IAheadBehind): Promise<undefined | { ahead: number; behind: number }>
  • mapBranch(toMap: Branch): Promise<Branch>
  • mapFileChange(toMap: FileChange, repositoryPath: string): Promise<GitFileChange>
  • mapFileChanges(toMap: WorkingDirectoryStatus, repositoryPath: string): Promise<GitFileChange[]>
  • mapTip(toMap: Commit): Promise<Commit>
  • resolveContainingPath(repositoryPath: string): Promise<undefined | string>
  • show(repository: Repository, uri: string, options?: Show): Promise<string>
  • stash(repository: Repository, options?: Readonly<{ action?: "push"; message?: string }>): Promise<void>
  • stash(repository: Repository, options: Readonly<{ action: "list" }>): Promise<StashEntry[]>
  • stash(repository: Repository, options: Readonly<{ action: "clear" }>): Promise<void>
  • stash(repository: Repository, options: Readonly<{ action: "pop" | "apply" | "drop"; id?: string }>): Promise<void>
  • unstage(repository: Repository, uri: string | string[], options?: Unstage): Promise<void>