1 | import { Oid } from "./oid";
|
2 | import { Reference } from "./reference";
|
3 | import { Repository } from "./repository";
|
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 | id(): Oid;
|
18 | }
|