You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
571 B

4 years ago
  1. /// <reference types="node" />
  2. import * as fs from 'fs';
  3. import { StrictOptions } from '../managers/options';
  4. export declare function sync(path: fs.PathLike, options: StrictOptions): fs.Stats;
  5. export declare type AsyncCallback = (err: NodeJS.ErrnoException | null, stats?: fs.Stats) => void;
  6. export declare function async(path: fs.PathLike, options: StrictOptions, callback: AsyncCallback): void;
  7. /**
  8. * Returns `true` for followed symlink.
  9. */
  10. export declare function isFollowedSymlink(stat: fs.Stats, options: StrictOptions): boolean;
  11. //# sourceMappingURL=stat.d.ts.map