Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


The Deno Standard Library
Go to Latest
interface FileInfo
import { type FileInfo } from "";

Just the part of Deno.FileInfo that is required to calculate an ETag, so partial or user generated file information can be passed.


mtime: Date | null

The last modification time of the file. This corresponds to the mtime field from stat on Linux/Mac OS and ftLastWriteTime on Windows. This may not be available on all platforms.

size: number

The size of the file, in bytes.