mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
8 lines
270 B
TypeScript
8 lines
270 B
TypeScript
import { Repository } from './repository';
|
|
import { Oid } from './oid';
|
|
|
|
export class Graph {
|
|
static aheadBehind(repo: Repository, local: Oid, upstream: Oid): Promise<number>;
|
|
static descendantOf(repo: Repository, commit: Oid, ancestor: Oid): Promise<number>;
|
|
}
|