UNPKG

cpp-merge

Version:

Command line tool to produce single source file from multiple C/C++ files

9 lines (8 loc) 449 B
/** * Searches for file in specified directories. * @param fileName - Name of searched file. * @param searchDirectories - List of directories where file will be searched for. * @return Full path to the found file or `undefined` if file was not found in any of search directories. */ export declare function findFile(fileName: string, searchDirectories: string[]): string | undefined; export declare function readFile(filePath: string): string;