@memory-bank/mcp
Version:
Memory-enabled Co-Pilot (MCP) server for managing project documentation and context
44 lines • 1.13 kB
TypeScript
/**
* Value object representing branch information
*/
export declare class BranchInfo {
private readonly _name;
private readonly _displayName;
private readonly _type;
private constructor();
/**
* Factory method to create a new BranchInfo
* @param branchName Raw branch name
* @returns BranchInfo instance
* @throws DomainError if branch name is invalid
*/
static create(branchName: string): BranchInfo;
/**
* Get the raw branch name
*/
get name(): string;
/**
* Get the display name (without prefix)
*/
get displayName(): string;
/**
* Get the branch type
*/
get type(): 'feature' | 'fix';
/**
* Get a safe branch name for filesystem usage
*/
get safeName(): string;
/**
* Checks if two BranchInfo instances are equal
* @param other Another BranchInfo instance
* @returns boolean indicating equality
*/
equals(other: BranchInfo): boolean;
/**
* Convert to string
* @returns Raw branch name
*/
toString(): string;
}
//# sourceMappingURL=BranchInfo.d.ts.map