Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface FileInfo
import { type FileInfo } from "https://deno.land/x/fathym_eac_runtime@v0.0.140/src/src.deps.ts";

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

Properties

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.