github-pages-deploy-action/lib/worktree.d.ts

13 lines
409 B
TypeScript
Raw Normal View History

import { ActionInterface } from './constants';
export declare class GitCheckout {
orphan: boolean;
commitish?: string | null;
branch: string;
constructor(branch: string);
toString(): string;
}
/**
* Generate the worktree and set initial content if it exists
*/
export declare function generateWorktree(action: ActionInterface, worktreedir: string, branchExists: unknown): Promise<void>;