1 | declare function addSubmodule(name: string, url: string): void;
|
2 | declare function removeSubmodule(name: string): void;
|
3 | declare function updateSubmodule(name: string): void;
|
4 | declare function resetSubmodule(name: string): void;
|
5 | declare function fetchSubmodule(name: string): void;
|
6 | declare function checkoutSubmodule(name: string, ref: string): void;
|
7 | declare function isSubmoduleUpdated(name: string): boolean;
|
8 | declare function resolveSubmodulePath(name: string, relativePath?: string): string;
|
9 | declare function listSubmodules(): any;
|
10 | declare function listSubmodulesUrls(whiteList?: any[]): any;
|
11 | declare function isSubmodule(): boolean;
|
12 | declare function getRemoteSubmoduleName(remote: any): any;
|
13 | declare function getLocalSubmoduleName(givenPath: any): any;
|
14 | declare function getSubmoduleCwd(name: any): string;
|
15 | declare function getSubmodulesFSNodes({ whitelist, blacklist, revision, cwd }?: {
|
16 | whitelist?: string[];
|
17 | blacklist?: string[];
|
18 | revision?: string;
|
19 | cwd?: string;
|
20 | }): any;
|
21 | export declare const Submodule: {
|
22 | add: typeof addSubmodule;
|
23 | remove: typeof removeSubmodule;
|
24 | reset: typeof resetSubmodule;
|
25 | fetch: typeof fetchSubmodule;
|
26 | update: typeof updateSubmodule;
|
27 | checkout: typeof checkoutSubmodule;
|
28 | isUpdated: typeof isSubmoduleUpdated;
|
29 | resolvePath: typeof resolveSubmodulePath;
|
30 | list: typeof listSubmodules;
|
31 | urls: typeof listSubmodulesUrls;
|
32 | isOne: typeof isSubmodule;
|
33 | getRemoteName: typeof getRemoteSubmoduleName;
|
34 | getLocalName: typeof getLocalSubmoduleName;
|
35 | getCwd: typeof getSubmoduleCwd;
|
36 | getFSNodes: typeof getSubmodulesFSNodes;
|
37 | };
|
38 | export {};
|