Metadata
Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Metadata interface contains information about a file system entry. This metadata includes the file's size and modification date and time.
Note:
This interface isn't available through the global scope; instead, you obtain a Metadata object describing a FileSystemEntry using the method FileSystemEntry.getMetadata().
Instance properties
modificationTimeRead only-
A
Dateobject indicating the date and time the entry was modified. sizeRead only-
A 64-bit unsigned integer indicating the size of the entry in bytes.
Specifications
This feature has been removed from all specification and is not in the process of being standardized.
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Metadata
|
|
|
|
|
|
|
|
|
|
|
|
|
modificationTime
|
|
|
|
|
|
|
|
|
|
|
|
|
size
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- Non-standard. Check cross-browser support before using.