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.

EntrySync

Summary

An abstract interface representing entries in a file system, each of which may be a File or DirectoryEntry.

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

Properties

filesystem

The file system on which the EntrySync resides.

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

fullPath

The full absolute path from the root to the EntrySync.

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

isDirectory

True if the EntrySync is a directory.

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

isFile

True if the EntrySync is a file.

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

name

The name of the EntrySync, excluding the path leading to it.

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

Methods

copyTo

Copy an EntrySync to a different location on the file system.

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

getMetadata

Look up metadata about this EntrySync.

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

getParent

Look up the parent DirectoryEntrySync containing this EntrySync. If this EntrySync is the root of its filesystem, its parent is itself.

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

moveTo

Move an EntrySync to a different location on the file system.

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

remove

Deletes a file or directory.

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

toURL

Returns a URL that can be used to identify this EntrySync.

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