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

x/ayonli_jsext/fs/types.ts>FileSystemOptions

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

Common options for file system operations.

Properties

optional
root: FileSystemDirectoryHandle | KVNamespace | undefined

The root directory handle to operate in, used in the browser, usually obtained from window.showDirectoryPicker(). If not provided, the result of navigator.storage.getDirectory() will be used.

This option can also be set to a KV namespace in Cloudflare Workers, however, Cloudflare Workers support is very limited and is experimental. When setting, this option is usually obtained from the __STATIC_CONTENT binding, or if not provided, the global __STATIC_CONTENT will be used (when available).