@zubenelakrab/gitstats
Version:
Powerful Git repository analyzer with comprehensive statistics and insights
23 lines • 641 B
TypeScript
export interface ExecResult {
stdout: string;
stderr: string;
exitCode: number;
}
export interface ExecOptions {
cwd?: string;
timeout?: number;
maxBuffer?: number;
}
/**
* Execute a command and return the result
*/
export declare function exec(command: string, args: string[], options?: ExecOptions): Promise<ExecResult>;
/**
* Execute a git command in a repository
*/
export declare function execGit(args: string[], repoPath: string): Promise<string>;
/**
* Check if a directory is a git repository
*/
export declare function isGitRepository(path: string): Promise<boolean>;
//# sourceMappingURL=exec.d.ts.map