Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 4 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
530 bytes
|
Line | |
---|
1 | /// <reference types="node" />
|
---|
2 | import type * as fs from 'fs';
|
---|
3 | export interface Entry {
|
---|
4 | dirent: Dirent;
|
---|
5 | name: string;
|
---|
6 | path: string;
|
---|
7 | stats?: Stats;
|
---|
8 | }
|
---|
9 | export declare type Stats = fs.Stats;
|
---|
10 | export declare type ErrnoException = NodeJS.ErrnoException;
|
---|
11 | export interface Dirent {
|
---|
12 | isBlockDevice: () => boolean;
|
---|
13 | isCharacterDevice: () => boolean;
|
---|
14 | isDirectory: () => boolean;
|
---|
15 | isFIFO: () => boolean;
|
---|
16 | isFile: () => boolean;
|
---|
17 | isSocket: () => boolean;
|
---|
18 | isSymbolicLink: () => boolean;
|
---|
19 | name: string;
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.