Skip to content

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 InformationDescription
fail no such file or directoryFile/directory does not exist