MDN self-hosted library · e01.org

Metadata

File and Directory Entries API

no runnable cells web-api-interface upstream source

File and Directory Entries API

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

  • modificationTime
  • : A Date object indicating the date and time the entry was modified.
  • size
  • : 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

See also