mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
435 B
TypeScript
17 lines
435 B
TypeScript
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>;
|
|
}
|