@salesforce/source-deploy-retrieve
Version:
JavaScript library to run Salesforce metadata deploys and retrieves
10 lines (9 loc) • 390 B
TypeScript
import { SourcePath } from '../common/types';
export declare const ensureFileExists: (filePath: string) => Promise<void>;
/**
* Traverse up a file path and search for the given file name.
*
* @param start File or folder path to start searching from
* @param fileName File name to search for
*/
export declare function searchUp(start: SourcePath, fileName: string): string | undefined;