UNPKG

structure-validation

Version:

A Node.js CLI tool for validating codebase folder and file structure using a clean declarative configuration. Part of the guardz ecosystem for comprehensive TypeScript development.

25 lines 751 B
import { GitDiffResult } from '../../domain/types/validation.types'; /** * Application service for git operations */ export declare class GitService { private readonly git; constructor(repoPath?: string); /** * Get changed files compared to a reference branch */ getChangedFiles(referenceBranch?: string): Promise<GitDiffResult>; /** * Get staged files (files that are staged for commit) */ getStagedFiles(): Promise<GitDiffResult>; /** * Get all changed files (staged + unstaged) */ getAllChangedFiles(): Promise<GitDiffResult>; /** * Check if the current directory is a git repository */ isGitRepository(): Promise<boolean>; } //# sourceMappingURL=GitService.d.ts.map