advanced-patch-generator
Version:
Advanced patch manager using Xdelta for efficient patch creation and application with progress support, events, and error handling
36 lines • 1.16 kB
TypeScript
/**
* File validation utilities
*/
declare class FileValidation {
/**
* Validates if a file exists
* @param filePath - Path to the file
* @returns Promise with validation result
*/
static validateFileExists(filePath: string): Promise<boolean>;
/**
* Validates if a file is readable
* @param filePath - Path to the file
* @returns Promise with validation result
*/
static validateFileReadable(filePath: string): Promise<boolean>;
/**
* Validates if a file is writable
* @param filePath - Path to the file
* @returns Promise with validation result
*/
static validateFileWritable(filePath: string): Promise<boolean>;
/**
* Validates if a directory exists
* @param dirPath - Path to the directory
* @returns Promise with validation result
*/
static validateDirectoryExists(dirPath: string): Promise<boolean>;
/**
* Validates if Xdelta is available
* @returns Promise with validation result
*/
static validateXdeltaAvailable(): Promise<boolean>;
}
export default FileValidation;
//# sourceMappingURL=fileValidation.d.ts.map