This page is Out of Date

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

remove

Summary

Deletes a file or directory.

Out of date; feature discontinued. See http://www.w3.org/TR/file-system-api.

Method of apis/filesystem/EntrySyncapis/filesystem/EntrySync

Syntax

 EntrySync.remove();

Return Value

No return value

Notes

It is an error to attempt to delete a directory that is not empty.

It is an error to attempt to delete the root directory of a filesystem.

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft