[I] ResolveModuleHost
Methods
readFile()
Read a utf-8 encoded file.
Parameters
Parameter | Type |
---|---|
path | string |
Returns
Promise
<string
>
realpath()
Resolve the real path for the current host.
Parameters
Parameter | Type |
---|---|
path | string |
Returns
Promise
<string
>
stat()
Get information about the given path
Parameters
Parameter | Type |
---|---|
path | string |
Returns
Promise
<object
>
Name | Type |
---|---|
isDirectory() | boolean |
isFile() | boolean |