Skip to content

FileSystem

FileSystem . readFile ( path )  -> string

Parameters

path: string

Returns

string
FileSystem . readDir ( path )  -> { string }

Parameters

path: string

Returns

{ string }
FileSystem . writeDir ( path )  -> ()

Parameters

path: string
FileSystem . writeFile ( path contents )  -> ()

Parameters

path: string
contents: string
FileSystem . removeDir ( path )  -> ()

Parameters

path: string
FileSystem . removeFile ( path )  -> ()

Parameters

path: string
FileSystem . isFile ( path )  -> boolean

Parameters

path: string

Returns

boolean
FileSystem . isDir ( path )  -> boolean

Parameters

path: string

Returns

boolean