netlify-cli
Version:
Netlify command line tool
31 lines • 693 B
TypeScript
/**
*
* @param {object} config
* @param {string} [config.remoteName]
* @param {string} config.workingDir
* @returns
*/
declare const getRepoData: ({ remoteName, workingDir }: {
remoteName?: string;
workingDir: string;
}) => Promise<{
name: string | null;
owner: string | null;
repo: string | null;
url: any;
branch: string;
provider: string | null;
httpsUrl: string;
error?: undefined;
} | {
error: any;
name?: undefined;
owner?: undefined;
repo?: undefined;
url?: undefined;
branch?: undefined;
provider?: undefined;
httpsUrl?: undefined;
}>;
export default getRepoData;
//# sourceMappingURL=get-repo-data.d.ts.map