FileSystemManager.accessSync
JS
FileSystemManager.accessSync(string path)Determines whether a file/directory exists
The synchronous version of FileSystemManager.access
Parameters
- string path: Path of the file/directory to check for existence
Parameters for caught exceptions
- string error: Returns error information. See the figure below for valid values.
Valid values of error:
| Error Information | Description |
|---|---|
| fail no such file or directory | File/directory does not exist |
