The FileSystemEntry interface of the File and Directory Entries
represents a single in a file system. The entry can be a file
a directory (directories are represented by the DirectoryEntry
It includes methods for working with files—including copying,
removing, and reading files—as well as information about a file
points to—including the file name and its path from the root
the entry.
The FileSystemEntry interface of the File and Directory Entries represents a single in a file system. The entry can be a file a directory (directories are represented by the `DirectoryEntry` It includes methods for working with files—including copying, removing, and reading files—as well as information about a file points to—including the file name and its path from the root the entry.
(copy-to this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method copyTo() copies
file specified by the entry to a new location on the file system.
FileSystemEntry.copyTo(newParent[, newName][, successCallback][, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/copyTo
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method copyTo() copies file specified by the entry to a new location on the file system. `FileSystemEntry.copyTo(newParent[, newName][, successCallback][, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/copyTo`
(filesystem this)
Property.
[Read Only] [Non Standard] [Experimental]
The read-only filesystem property of the web.files.FileSystemEntry
contains a web.files.FileSystem
object that represents the
system on which the entry resides.
var filesystem = FileSystemEntry.filesystem;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem
Property. [Read Only] [Non Standard] [Experimental] The read-only filesystem property of the `web.files.FileSystemEntry` contains a `web.files.FileSystem` object that represents the system on which the entry resides. `var filesystem = FileSystemEntry.filesystem;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem`
(full-path this)
Property.
[Read Only] [Non Standard] [Experimental]
The read-only fullPath property of the web.files.FileSystemEntry
returns a web.USVString
specifying the full, absolute path
the file system's root to the file represented by the entry.
var fullPath = FileSystemEntry.fullPath;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/fullPath
Property. [Read Only] [Non Standard] [Experimental] The read-only fullPath property of the `web.files.FileSystemEntry` returns a `web.USVString` specifying the full, absolute path the file system's root to the file represented by the entry. `var fullPath = FileSystemEntry.fullPath;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/fullPath`
(get-metadata this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method getMetadata()
a web.files.Metadata
object with information about the file
entry, such as its modification date and time and its size.
FileSystemEntry.getMetadata(successCallback[, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getMetadata
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method getMetadata() a `web.files.Metadata` object with information about the file entry, such as its modification date and time and its size. `FileSystemEntry.getMetadata(successCallback[, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getMetadata`
(get-parent this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method getParent()
a web.files.FileSystemDirectoryEntry
.
FileSystemEntry.getParent(successCallback[, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method getParent() a `web.files.FileSystemDirectoryEntry`. `FileSystemEntry.getParent(successCallback[, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent`
(is-directory this)
Property.
[Read Only] [Non Standard] [Experimental]
The read-only isDirectory property of the web.files.FileSystemEntry
is true if the entry represents a directory (meaning it's a web.files.FileSystemDirectoryEntry
)
false if it's not.
var isDirectory = FileSystemEntry.isDirectory;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory
Property. [Read Only] [Non Standard] [Experimental] The read-only isDirectory property of the `web.files.FileSystemEntry` is true if the entry represents a directory (meaning it's a `web.files.FileSystemDirectoryEntry`) false if it's not. `var isDirectory = FileSystemEntry.isDirectory;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory`
(is-file this)
Property.
[Read Only] [Non Standard] [Experimental]
The read-only isFile property of the web.files.FileSystemEntry
is true if the entry represents a file (meaning it's a web.files.FileSystemFileEntry
)
false if it's not.
var isFile = FileSystemEntry.isFile;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile
Property. [Read Only] [Non Standard] [Experimental] The read-only isFile property of the `web.files.FileSystemEntry` is true if the entry represents a file (meaning it's a `web.files.FileSystemFileEntry`) false if it's not. `var isFile = FileSystemEntry.isFile;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile`
(move-to this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method moveTo() moves
file specified by the entry to a new location on the file system,
renames the file if the destination directory is the same as
source.
FileSystemEntry.moveTo(newParent[, newName][, successCallback][, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/moveTo
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method moveTo() moves file specified by the entry to a new location on the file system, renames the file if the destination directory is the same as source. `FileSystemEntry.moveTo(newParent[, newName][, successCallback][, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/moveTo`
(name this)
Property.
[Read Only] [Non Standard] [Experimental]
The read-only name property of the web.files.FileSystemEntry
returns a web.USVString
specifying the entry's name; this is
entry within its parent directory (the last component of the
as indicated by the fullPath
property).
var name = FileSystemEntry.name;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name
Property. [Read Only] [Non Standard] [Experimental] The read-only name property of the `web.files.FileSystemEntry` returns a `web.USVString` specifying the entry's name; this is entry within its parent directory (the last component of the as indicated by the `fullPath` property). `var name = FileSystemEntry.name;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name`
(remove this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method remove() deletes
file or directory from the file system. Directories must be empty
they can be removed.
FileSystemEntry.remove(successCallback[, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/remove
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method remove() deletes file or directory from the file system. Directories must be empty they can be removed. `FileSystemEntry.remove(successCallback[, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/remove`
(to-url this & args)
Method.
[Non Standard] [Experimental]
The web.files.FileSystemEntry
interface's method toURL() creates
returns a string containing a URL which can be used to identify
file system entry. This is done by exposing a new URL scheme—filesystem:—that
be used as the value of src and href attributes.
FileSystemEntry.toURL([mimeType]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/toURL
Method. [Non Standard] [Experimental] The `web.files.FileSystemEntry` interface's method toURL() creates returns a string containing a URL which can be used to identify file system entry. This is done by exposing a new URL scheme—filesystem:—that be used as the value of src and href attributes. `FileSystemEntry.toURL([mimeType]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/toURL`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close