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 web.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 `web.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.
The file.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. The `file.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.
The read-only filesystem property of the file.FileSystemEntry
contains a file.FileSystem
object that represents the file
on which the entry resides.
var filesystem = FileSystemEntry.filesystem;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem
Property. The read-only filesystem property of the `file.FileSystemEntry` contains a `file.FileSystem` object that represents the file 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.
The read-only fullPath property of the file.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. The read-only fullPath property of the `file.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.
The file.FileSystemEntry
interface's method getMetadata() obtains
web.Metadata
object with information about the file system
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. The `file.FileSystemEntry` interface's method getMetadata() obtains `web.Metadata` object with information about the file system 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.
The file.FileSystemEntry
interface's method getParent() obtains
file.FileSystemDirectoryEntry
.
FileSystemEntry.getParent(successCallback[, errorCallback]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent
Method. The `file.FileSystemEntry` interface's method getParent() obtains `file.FileSystemDirectoryEntry`. `FileSystemEntry.getParent(successCallback[, errorCallback]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/getParent`
(is-directory this)
Property.
The read-only isDirectory property of the file.FileSystemEntry
is true if the entry represents a directory (meaning it's a file.FileSystemDirectoryEntry
)
false if it's not.
var isDirectory = FileSystemEntry.isDirectory;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory
Property. The read-only isDirectory property of the `file.FileSystemEntry` is true if the entry represents a directory (meaning it's a `file.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.
The read-only isFile property of the file.FileSystemEntry
interface
true if the entry represents a file (meaning it's a file.FileSystemFileEntry
)
false if it's not.
var isFile = FileSystemEntry.isFile;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile
Property. The read-only isFile property of the `file.FileSystemEntry` interface true if the entry represents a file (meaning it's a `file.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.
The file.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. The `file.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.
The read-only name property of the file.FileSystemEntry
interface
a web.USVString
specifying the entry's name; this is the entry
its parent directory (the last component of the path as indicated
the web.fullPath
property).
var name = FileSystemEntry.name;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name
Property. The read-only name property of the `file.FileSystemEntry` interface a `web.USVString` specifying the entry's name; this is the entry its parent directory (the last component of the path as indicated the `web.fullPath` property). `var name = FileSystemEntry.name;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name`
(remove this & args)
Method.
The file.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. The `file.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`
(set-filesystem! this val)
Property.
The read-only filesystem property of the file.FileSystemEntry
contains a file.FileSystem
object that represents the file
on which the entry resides.
var filesystem = FileSystemEntry.filesystem;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem
Property. The read-only filesystem property of the `file.FileSystemEntry` contains a `file.FileSystem` object that represents the file on which the entry resides. `var filesystem = FileSystemEntry.filesystem;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/filesystem`
(set-full-path! this val)
Property.
The read-only fullPath property of the file.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. The read-only fullPath property of the `file.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`
(set-is-directory! this val)
Property.
The read-only isDirectory property of the file.FileSystemEntry
is true if the entry represents a directory (meaning it's a file.FileSystemDirectoryEntry
)
false if it's not.
var isDirectory = FileSystemEntry.isDirectory;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory
Property. The read-only isDirectory property of the `file.FileSystemEntry` is true if the entry represents a directory (meaning it's a `file.FileSystemDirectoryEntry`) false if it's not. `var isDirectory = FileSystemEntry.isDirectory;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isDirectory`
(set-is-file! this val)
Property.
The read-only isFile property of the file.FileSystemEntry
interface
true if the entry represents a file (meaning it's a file.FileSystemFileEntry
)
false if it's not.
var isFile = FileSystemEntry.isFile;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile
Property. The read-only isFile property of the `file.FileSystemEntry` interface true if the entry represents a file (meaning it's a `file.FileSystemFileEntry`) false if it's not. `var isFile = FileSystemEntry.isFile;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/isFile`
(set-name! this val)
Property.
The read-only name property of the file.FileSystemEntry
interface
a web.USVString
specifying the entry's name; this is the entry
its parent directory (the last component of the path as indicated
the web.fullPath
property).
var name = FileSystemEntry.name;
See also: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name
Property. The read-only name property of the `file.FileSystemEntry` interface a `web.USVString` specifying the entry's name; this is the entry its parent directory (the last component of the path as indicated the `web.fullPath` property). `var name = FileSystemEntry.name;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/FileSystemEntry/name`
(to-url this & args)
Method.
The file.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. The `file.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