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