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.

DirectoryEntrySync

Summary

This interface represents a directory on a file system.

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

Properties

No properties.

Methods

createReader

Creates a new DirectoryReaderSync to read EntrySyncs from this DirectorySync.

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

getDirectory

Creates or looks up a directory.

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

getFile

Creates or looks up a file.

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

removeRecursively

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.

Events

No events.

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft