UNPKG

@types/nodegit

Version:

TypeScript definitions for nodegit

17 lines (14 loc) 435 B
import { Object } from './object'; import { Repository } from './repository'; import { Reference } from './reference'; export namespace Revparse { const enum MODE { SINGLE = 1, RANGE = 2, MERGE_BASE = 4 } } export class Revparse { static ext(objectOut: Object, referenceOut: Reference, repo: Repository, spec: string): number; static single(repo: Repository, spec: string): Promise<Object>; }