# FileSystemManager.unlinkSync(string filePath)

The synchronous version of FileSystemManager.unlink.

# Parameters

# string filePath

Path to the file to be deleted

# Errors

Error Code Error Message Description
fail permission denied, open ${path} No read permission on the specified path
fail no such file or directory ${path} File does not exist
fail operation not permitted, unlink ${filePath} The passed filePath is a directory
点击咨询小助手