Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/workerd/fs.ts>DirEntry

A JavaScript extension package for building strong and modern applications.
Latest
interface DirEntry
Re-export
import { type DirEntry } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/fs.ts";

Information about a directory entry.

Properties

name: string
kind: "file" | "directory" | "symlink"
relativePath: string

The relative path of the entry. This is an empty string if the entry is the root directory.

NOTE: The separator of the path is platform-specific, it's \ in Windows server-side applications, and / elsewhere.

readonly
optional
deprecated
path: string
optional
handle: FileSystemFileHandle | FileSystemDirectoryHandle | undefined

The raw file system handle of the entry, only available in the browser.