1 | import { Repository } from './repository';
|
2 | import { Oid } from './oid';
|
3 | import { Reference } from './reference';
|
4 |
|
5 | export class AnnotatedCommit {
|
6 | |
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | static fromFetchhead(repo: Repository, branchName: string, remoteUrl: string, id: Oid): Promise<AnnotatedCommit>;
|
13 | static fromRef(repo: Repository, ref: Reference): Promise<AnnotatedCommit>;
|
14 | static fromRevspec(repo: Repository, revspec: string): Promise<AnnotatedCommit>;
|
15 | static lookup(repo: Repository, id: Oid): Promise<AnnotatedCommit>;
|
16 |
|
17 | free(): void;
|
18 | id(): Oid;
|
19 | }
|