UNPKG

@bobmatnyc/ai-code-review

Version:

A TypeScript-based tool for automated code reviews using AI models from Google Gemini, Anthropic Claude, and OpenRouter

31 lines (30 loc) 1.29 kB
/** * @fileoverview Path generation utilities. * * This module provides utilities for generating file and directory paths, * including versioned output paths for review results. */ /** * Generate a versioned output path for a file * @param baseDir Base directory for the output * @param prefix Prefix for the filename * @param extension File extension (including the dot) * @param modelName Name of the model used for the review * @param targetName Name of the target file or directory * @returns Promise resolving to the generated path */ export declare function generateVersionedOutputPath(baseDir: string, prefix: string, extension: string, modelName: string, targetName: string): Promise<string>; /** * Generate an output path for a file with a unique name * @param baseDir Base directory for the output * @param filename Desired filename * @returns Promise resolving to the generated path */ export declare function generateUniqueOutputPath(baseDir: string, filename: string): Promise<string>; /** * Generate a temporary file path * @param prefix Prefix for the filename * @param extension File extension (including the dot) * @returns Generated temporary file path */ export declare function generateTempFilePath(prefix: string, extension: string): string;