new File(path)
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
path |
String | The path to the file. This will be resolved to an absolute path, so even if you change your cwd you can still access the same file. |
||
options.base |
String |
<optional> |
./ | Used for relative pathing. This will not be resolved to an absolute path. Typically where a glob starts. |