Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
805 bytes
|
Line | |
---|
1 | import type { FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod } from './adapters/fs';
|
---|
2 | import * as async from './providers/async';
|
---|
3 | import Settings, { Options } from './settings';
|
---|
4 | import type { Stats } from './types';
|
---|
5 | declare type AsyncCallback = async.AsyncCallback;
|
---|
6 | declare function stat(path: string, callback: AsyncCallback): void;
|
---|
7 | declare function stat(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
|
---|
8 | declare namespace stat {
|
---|
9 | function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Stats>;
|
---|
10 | }
|
---|
11 | declare function statSync(path: string, optionsOrSettings?: Options | Settings): Stats;
|
---|
12 | export { Settings, stat, statSync, AsyncCallback, FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod, Options, Stats };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.