FileInfo

import { FileInfo } from "jsr:@ende/http";

interface

interface FileInfo

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

Properties

mtime

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

size: number

The size of the file, in bytes.

Source