easy-yandex-s3
Version:
Use Yandex S3 API to upload, list, download and remove files from Yandex Cloud service.
14 lines (13 loc) • 571 B
TypeScript
declare type ReadDirReturns = {
fullFilePath: string;
relativeDirPath: string;
fileName: string;
}[];
/**
* Получение массива всех вложенных файлов и папок и их файлов и папок и их файлов и папок...
* @param {string} dirPath Путь до папки, которую сканируем
* @param {string=} originalFilePath
* @param {Array} ignoreList
*/
declare function ReadDir(dirPath: string, originalFilePath: string, ignoreList: string[]): ReadDirReturns;
export default ReadDir;