@memory-bank/mcp
Version:
Memory-enabled Co-Pilot (MCP) server for managing project documentation and context
14 lines • 569 B
TypeScript
import { IGitService } from './IGitService.js';
/**
* Implementation of IGitService using child_process to execute git commands.
*/
export declare class GitService implements IGitService {
private readonly serviceLogger;
/**
* Gets the current Git branch name by executing `git branch --show-current`.
* @returns Promise resolving to the current branch name.
* @throws InfrastructureErrors.gitCommandFailed if the command fails or returns an error.
*/
getCurrentBranchName(): Promise<string>;
}
//# sourceMappingURL=GitService.d.ts.map