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.

getParent

Summary

Look up the parent DirectoryEntry containing this Entry. If this Entry is the root of its filesystem, its parent is itself.

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

Method of apis/filesystem/Entryapis/filesystem/Entry

Syntax

 Entry.getParent(successCallback, errorCallback);

Parameters

successCallback

Data-type
String

A callback that is called to return the parent Entry.

errorCallback

Data-type
String

(Optional)

A callback that is called when errors happen.

Return Value

No return value

Related specifications

W3C File API: Directories and System Specification
W3C Working Draft