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 | undefinedThe 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).