Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
FileSystem
Interface FileSystem
Index
Properties
separator
workingDirectory
Methods
absolute
changeWorkingDirectory
copy
copyTree
exists
isAbsolute
isDirectory
isExecutable
isFile
isLink
isReadable
isWritable
list
makeDirectory
makeTree
move
open
read
readLink
remove
removeDirectory
removeTree
size
touch
write
Properties
public
separator
:
string
public
workingDirectory
:
string
Methods
public
absolute
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
public
changeWorkingDirectory
(
path
:
string
)
Parameters
path:
string
public
copy
(
source
:
string
, destination
:
string
)
Parameters
source:
string
destination:
string
public
copyTree
(
source
:
string
, destination
:
string
)
Parameters
source:
string
destination:
string
public
exists
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isAbsolute
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isDirectory
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isExecutable
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isFile
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isLink
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isReadable
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
isWritable
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
public
list
(
path
:
string
)
:
Array<string>
Parameters
path:
string
Returns
Array<string>
public
makeDirectory
(
path
:
string
)
Parameters
path:
string
public
makeTree
(
path
:
string
)
Parameters
path:
string
public
move
(
source
:
string
, destination
:
string
)
Parameters
source:
string
destination:
string
public
open
(
path
:
string
, mode
:
string
)
:
Stream
Parameters
path:
string
mode:
string
Returns
Stream
public
open
(
path
:
string
, options
:
{ mode: string; charset?: string; }
)
:
Stream
Parameters
path:
string
options:
{ mode: string; charset?: string; }
Returns
Stream
public
read
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
public
readLink
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
public
remove
(
path
:
string
)
Parameters
path:
string
public
removeDirectory
(
path
:
string
)
Parameters
path:
string
public
removeTree
(
path
:
string
)
Parameters
path:
string
public
size
(
path
:
string
)
:
number
Parameters
path:
string
Returns
number
public
touch
(
path
:
string
)
Parameters
path:
string
public
write
(
path
:
string
, content
:
string
, mode
:
string
)
Parameters
path:
string
content:
string
mode:
string
Globals