mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-04-29 16:32:44 +00:00
16 lines
443 B
TypeScript
16 lines
443 B
TypeScript
export interface FileStats {
|
|
modified: number;
|
|
added: number;
|
|
deleted: number;
|
|
untracked: number;
|
|
}
|
|
export interface GitStatus {
|
|
branch: string;
|
|
isDirty: boolean;
|
|
ahead: number;
|
|
behind: number;
|
|
fileStats?: FileStats;
|
|
}
|
|
export declare function getGitBranch(cwd?: string): Promise<string | null>;
|
|
export declare function getGitStatus(cwd?: string): Promise<GitStatus | null>;
|
|
//# sourceMappingURL=git.d.ts.map
|