Search
Preparing search index...
The search index is not available
simple-fake-fs — Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
simple-fake-fs — Reference
Index
Enumerations
Content
Kind
Error
Kind
Classes
Array
Path
File
System
EEXIST
EISDIR
ENOENT
ENOTDIR
Error
Carrier
Fake
Directory
Content
Fake
File
Content
Fake
Stats
None
String
Path
File
System
Interfaces
Error
Constructor
File
System
Entry
Type aliases
Content
Error
Code
Maybe
Content
String
Path
File
System
Dict
Sys
Call
Variables
EMPTY_
CLASS
NONE
Functions
dict2entries
Type aliases
Content
Content<PathElm, FileContent>
:
FakeFileContent
<
FileContent
>
|
FakeDirectoryContent
<
PathElm
,
FileContent
>
Type parameters
PathElm
FileContent
Error
Code
Error
Code
:
string
&
keyof
typeof
ErrorKind
Maybe
Content
Maybe
Content<PathElm, FileContent, ErrorValue>
:
None
|
ErrorCarrier
<
ErrorValue
>
|
Content
<
PathElm
,
FileContent
>
Type parameters
PathElm
FileContent
ErrorValue
String
Path
File
System
Dict
String
Path
File
System
Dict
:
{}
Type declaration
[
_:
string
]:
StringPathFileSystemDict
|
string
Sys
Call
Sys
Call
:
"stat"
|
"scandir"
|
"open"
|
"read"
|
"mkdir"
|
"exists"
Variables
Const
EMPTY_
CLASS
EMPTY_
CLASS
:
EMPTY_CLASS
= class {}
Const
NONE
NONE
:
None
= new None()
Functions
dict2entries
dict2entries
(
dict
:
StringPathFileSystemDict
)
:
FileSystemEntry
<
string
,
string
>
[]
Parameters
dict:
StringPathFileSystemDict
Returns
FileSystemEntry
<
string
,
string
>
[]
Globals
Content
Kind
Error
Kind
Array
Path
File
System
EEXIST
EISDIR
ENOENT
ENOTDIR
Error
Carrier
Fake
Directory
Content
Fake
File
Content
Fake
Stats
None
String
Path
File
System
Error
Constructor
File
System
Entry
Content
Error
Code
Maybe
Content
String
Path
File
System
Dict
Sys
Call
EMPTY_
CLASS
NONE
dict2entries
Generated using
TypeDoc