@shutootaki/gwm
Version:
git worktree manager CLI
12 lines • 547 B
TypeScript
import type { RemoteBranchInfo, RemoteBranchStatus } from './types.js';
/**
* リモートブランチの状態を確認
* - isDeleted: origin/<branch> が存在しない
* - isMerged : ブランチがいずれかの mainBranch にマージ済み
*/
export declare function checkRemoteBranchStatus(branch: string, mainBranches: string[]): RemoteBranchStatus;
/**
* リモートブランチの詳細情報を取得する
*/
export declare function getRemoteBranchesWithInfo(): Promise<RemoteBranchInfo[]>;
//# sourceMappingURL=remote.d.ts.map