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