1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare type ChangedFiles = {
|
8 | repos: Repos;
|
9 | changedFiles: Paths;
|
10 | };
|
11 |
|
12 | export declare type ChangedFilesPromise = Promise<ChangedFiles>;
|
13 |
|
14 | export declare const findRepos: (roots: Array<string>) => Promise<Repos>;
|
15 |
|
16 | export declare const getChangedFilesForRoots: (
|
17 | roots: Array<string>,
|
18 | options: Options,
|
19 | ) => ChangedFilesPromise;
|
20 |
|
21 | declare type Options = {
|
22 | lastCommit?: boolean;
|
23 | withAncestor?: boolean;
|
24 | changedSince?: string;
|
25 | includePaths?: Array<string>;
|
26 | };
|
27 |
|
28 | declare type Paths = Set<string>;
|
29 |
|
30 | declare type Repos = {
|
31 | git: Paths;
|
32 | hg: Paths;
|
33 | sl: Paths;
|
34 | };
|
35 |
|
36 | export {};
|