file
file(path, opts?): FsFile
Returns a Switch.FsFile instance for the given path.
Parameters
| Parameter | Type | Description | 
|---|---|---|
| path | PathLike | |
| opts? | FsFileOptions | - | 
file(path, opts?): FsFile
Returns a Switch.FsFile instance for the given path.
| Parameter | Type | Description | 
|---|---|---|
| path | PathLike | |
| opts? | FsFileOptions | - |