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.

removeRecursively

Summary

Deletes a directory and all of its contents, if any. In the event of an error [e.g. trying to delete a directory that contains a file that cannot be removed], some of the contents of the directory may be deleted. It is an error to attempt to delete the root directory of a filesystem.

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

Method of apis/filesystem/DirectoryEntrySyncapis/filesystem/DirectoryEntrySync

Syntax

 DirectoryEntrySync.removeRecursively();

Return Value

No return value

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft