@elsikora/git-branch-lint
Version:
Lint your git branch names
14 lines (13 loc) • 407 B
TypeScript
import type { IBranchRepository } from "../../domain/interface/branch.repository.interface";
/**
* Use case for getting the current branch name
*/
export declare class GetCurrentBranchUseCase {
private readonly branchRepository;
constructor(branchRepository: IBranchRepository);
/**
* Execute the use case
* @returns The current branch name
*/
execute(): Promise<string>;
}