delete

Delete a file.

Parameters

uri

The resource that is to be deleted.

options

Defines if deletion of folders is recursive.

Throws

FileNotFound

FileSystemError.FileNotFound when uri doesn't exist.

NoPermissions

FileSystemError.NoPermissions when permissions aren't sufficient.

Online Documentation