get-file-details.d.ts 440 B

1234567891011121314
  1. import { GlobPartial } from '../types';
  2. interface FileDetails {
  3. file: string;
  4. hash: string;
  5. size: number;
  6. }
  7. export declare function getFileDetails({ globDirectory, globFollow, globIgnores, globPattern, globStrict, }: Omit<GlobPartial, 'globDirectory' | 'globPatterns' | 'templatedURLs'> & {
  8. globDirectory: string;
  9. globPattern: string;
  10. }): {
  11. globbedFileDetails: Array<FileDetails>;
  12. warning: string;
  13. };
  14. export {};