aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@nodelib/fs.stat/out/index.d.ts
blob: bda407dcf89a4b2c4524a4fdaf00477e9cda591e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/// <reference types="node" />
import * as fs from 'fs';
import { FileSystemAdapter } from './adapters/fs';
import { Options } from './managers/options';
import { AsyncCallback } from './providers/stat';
/**
 * Asynchronous API.
 */
export declare function stat(path: fs.PathLike, opts?: Options): Promise<fs.Stats>;
/**
 * Callback API.
 */
export declare function statCallback(path: fs.PathLike, callback: AsyncCallback): void;
export declare function statCallback(path: fs.PathLike, opts: Options, callback: AsyncCallback): void;
/**
 * Synchronous API.
 */
export declare function statSync(path: fs.PathLike, opts?: Options): fs.Stats;
export declare type Options = Options;
export declare type StatAsyncCallback = AsyncCallback;
export declare type FileSystemAdapter = FileSystemAdapter;
//# sourceMappingURL=index.d.ts.map