@akiojin/claude-worktree
Version:
Interactive Git worktree manager for Claude Code with graphical branch selection
18 lines • 531 B
TypeScript
export interface WorktreeData {
path: string;
head: string;
branch: string;
}
/**
* Git Worktree操作のための低レベルRepository
*/
export declare class WorktreeRepository {
execute(args: string[], options?: {
cwd?: string;
}): Promise<string>;
list(): Promise<WorktreeData[]>;
add(worktreePath: string, branchName: string): Promise<void>;
remove(worktreePath: string, force?: boolean): Promise<void>;
prune(): Promise<void>;
}
//# sourceMappingURL=worktree.repository.d.ts.map