UNPKG

@elsikora/git-branch-lint

Version:
12 lines (11 loc) 321 B
/** * Domain entity representing a Git branch */ export declare class Branch { private readonly VALUE; constructor(name: string); getName(): string; isProhibited(prohibitedNames: ReadonlyArray<string>): boolean; isTooLong(maxLength?: number): boolean; isTooShort(minLength?: number): boolean; }