UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

12 lines (11 loc) 435 B
/** * Checks if the current working directory is a git repository. * * @param opts.cwd The directory of the project. If undefined, the current process working directory will be used. * * @returns true if the current working directory is a git repository, false otherwise. */ export declare function isInGitRepo(opts: { cwd: string | undefined; }): boolean; export declare function getUncommittedOrUntrackedFiles(): string[];